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] Consumer with no activity can lose quorum #2914

Merged
merged 1 commit into from Mar 9, 2022
Merged

Conversation

derekcollison
Copy link
Member

When a consumer has no state we are now compacting the log, but were not snapshotting.

This caused issues on leader change and losing quorum.

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

Resolves #2913

/cc @nats-io/core

…not snapshotting.

This caused issues on leader change and losing quorum.

Signed-off-by: Derek Collison <derek@nats.io>
Copy link
Member

@kozlovic kozlovic left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@matthiashanel matthiashanel left a comment

Choose a reason for hiding this comment

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

LGTM

@kozlovic kozlovic merged commit 0cb0f6d into main Mar 9, 2022
@kozlovic kozlovic deleted the fix_2913 branch March 9, 2022 18:55
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.

Unused JetStream consumers go out of sync
3 participants