Skip to content

Fix delta compatibility boundary#176

Open
mikcorer wants to merge 1 commit intoquickwit-oss:mainfrom
mikcorer:invalid_reset_and_panic
Open

Fix delta compatibility boundary#176
mikcorer wants to merge 1 commit intoquickwit-oss:mainfrom
mikcorer:invalid_reset_and_panic

Conversation

@mikcorer
Copy link
Copy Markdown

@mikcorer mikcorer commented Mar 2, 2026

NodeState::check_delta_statustreatednode_delta.last_gc_version == self.max_versionas incompatible because it used a strict< check. That equality boundary could incorrectly route a valid delta into reset handling (ApplyAfterResetwhenfrom_version_excluded == 0). During ClusterState::apply_delta, this could decrease max_versionafter reset and violate the monotonic invariant asserted bymonotonic_property`, causing a panic.

@mikcorer
Copy link
Copy Markdown
Author

mikcorer commented Mar 2, 2026

Hi @maintainers, сould you review the fix and confirm that the approach is correct?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant