-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error After change_membership: assertion failed: value > prev
#584
Comments
👋 Thanks for opening this issue! Get help or engage by:
|
Thanks for reporting this bug! This error said that it tried to update the replication state to a former state. I will need some more time to figure out what was wrong. My guess is either of the following:
Do you have a complete log file about this error? I believe the former logs have recorded what happened. |
I can reproduce it in a unit test, it's the second reason. Let me fix it. |
Error After change_membership: `assertion failed: value > prev`, when changing membership by converting a learner to a voter. Because the replication streams are re-spawned, thus progress reverts to zero. Then a reverted progress causes the panic.
…atabendlabs#584 Problem: Error After change_membership: `assertion failed: value > prev`, when changing membership by converting a learner to a voter. Because the replication streams are re-spawned, thus progress reverts to zero. Then a reverted progress causes the panic. Solution: When re-spawning replications, remember the previous progress. - Fix: databendlabs#584
Thanks for the stellar support as usual! I see you’ve added related commits so I’ll retry. I’m happy to provide a longer log if the issue persists. |
Fix: Error After change_membership: `assertion failed: value > prev`: #584
It does not look necessary:) I can 100% reproduce this bug. |
Sorry this isn't well isolated into a unit test, but can you make sense of this error:
This seems to happen following a
change_membership
, promoting a learner and keeping the same leader. This started after upgrading to the latest master recently. Any pointers would be appreciated to inform my own investigation.The text was updated successfully, but these errors were encountered: