Skip to content
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

Fix: Error After change_membership: assertion failed: value > prev: #584 #585

Merged
merged 3 commits into from
Oct 29, 2022

Conversation

drmingdrmer
Copy link
Member

@drmingdrmer drmingdrmer commented Oct 28, 2022

Changelog

Fix: Error After change_membership: assertion failed: value > prev: #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.


This change is Reviewable

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
@drmingdrmer
Copy link
Member Author

@fredfortier

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.

Error After change_membership: assertion failed: value > prev
1 participant