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

[FIXED] R1 stream move would sometimes lose all msgs. #4413

Merged
merged 1 commit into from Aug 22, 2023

Conversation

derekcollison
Copy link
Member

When moving streams, we could check too soon and be in a gap where the replica peer has not registered a catchup request but had made contact via the NRG layer.

This would cause us to think the replica was caught up, incorrectly, and drop our leadership, which would cancel any catchup requests.

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

…e replica peer has not registered a catchup request.

This would cause us to think the replica was caughtup incorrectly and drop our leadership, which would cancel any cacthup requests.

Signed-off-by: Derek Collison <derek@nats.io>
@derekcollison derekcollison requested a review from a team as a code owner August 22, 2023 03: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 90f5371 into main Aug 22, 2023
2 checks passed
@derekcollison derekcollison deleted the r1-stream-move branch August 22, 2023 13:49
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

3 participants