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

[IMPROVED] Consumer updates #4049

Merged
merged 3 commits into from Apr 14, 2023
Merged

[IMPROVED] Consumer updates #4049

merged 3 commits into from Apr 14, 2023

Conversation

derekcollison
Copy link
Member

Make sure to process consumer entries on recovery in case state was not committed.
And sync other consumers when taking over as leader but no need to process snapshots when we are in fact the leader.
Do not let the consumer redelivered count go down on re-applying state on restarts.

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

Signed-off-by: Derek Collison <derek@nats.io>
Signed-off-by: Derek Collison <derek@nats.io>
…ot committed.

Also sync other consumers when taking over as leader but no need to process snapshots when we are in fact the leader.

Signed-off-by: Derek Collison <derek@nats.io>
@derekcollison derekcollison requested a review from a team as a code owner April 14, 2023 01:55
@derekcollison derekcollison merged commit be4999a into main Apr 14, 2023
2 checks passed
@derekcollison derekcollison deleted the consumer-updates branch April 14, 2023 02:18
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