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

Stream migration update #4104

Merged
merged 2 commits into from Apr 26, 2023
Merged

Stream migration update #4104

merged 2 commits into from Apr 26, 2023

Conversation

derekcollison
Copy link
Member

I noticed that stream migration could be delayed due to transferring leadership while the new leader was still paused for a upper layer catchup, resulting in downgrading to a normal lost quorum vote. This allows a leadership transfer to move ahead once the upper layer resumes. Also check quicker but slow down if the state we need to have is not there yet.

Signed-off-by: Derek Collison derek@nats.io

…ew leader was still paused.

Also check quicker but slow down if the state we need to have is not there yet.

Signed-off-by: Derek Collison <derek@nats.io>
Signed-off-by: Derek Collison <derek@nats.io>
@derekcollison derekcollison requested a review from a team as a code owner April 26, 2023 02:17
Copy link
Member

@neilalexander neilalexander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@derekcollison derekcollison merged commit aea4a41 into main Apr 26, 2023
2 checks passed
@derekcollison derekcollison deleted the migration-update branch April 26, 2023 15:14
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.

None yet

2 participants