Fix[mqb]: idempotent restore state - #1190
Merged
Merged
Conversation
Collaborator
Author
|
|
kaikulimu
requested changes
Mar 18, 2026
dorjesinpo
force-pushed
the
fix/restore-state-race
branch
3 times, most recently
from
March 19, 2026 19:21
e9af558 to
fd26959
Compare
kaikulimu
reviewed
Mar 19, 2026
kaikulimu
left a comment
Collaborator
There was a problem hiding this comment.
Code looks good, but ITs look bad.
Collaborator
|
Can you rebase to main branch? #1060 which causes IT failures has been rolled back. |
dorjesinpo
force-pushed
the
fix/restore-state-race
branch
from
April 2, 2026 20:13
fd26959 to
5e0d7db
Compare
Signed-off-by: dorjesinpo <129227380+dorjesinpo@users.noreply.github.com>
dorjesinpo
force-pushed
the
fix/restore-state-race
branch
from
April 6, 2026 16:07
5e0d7db to
95e3923
Compare
Signed-off-by: dorjesinpo <129227380+dorjesinpo@users.noreply.github.com>
dorjesinpo
force-pushed
the
fix/restore-state-race
branch
from
April 6, 2026 16:09
95e3923 to
0466d52
Compare
Signed-off-by: dorjesinpo <129227380+dorjesinpo@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
If openQueue is received in between partition becoming active and node becoming available, a new primary may end up keeping remote queue.
Solution: do not open/reopen queues until node is both availalble and partition is active.
Making
Queue::convertToLocalidempotent. MakingrestoreStateClusterindependent of the orderk_ANY_PARTITION_IDorN.