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] Max delivered stuck consumers and mis-reported redelivered stats. #5995

Merged
merged 1 commit into from
Oct 12, 2024

Conversation

derekcollison
Copy link
Member

Process max delivery boundaries when expiring vs always putting back on the redelivered queue.

Previously we would always re-queue and do this on getNextMsg() which worked well for push consumers, but with pull based consumers would require a new pull request to be present to process any redelivered and this could report redelivered status incorrectly on max deliver of 1.

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

…on the redelivered queue.

Previously we would always re-queue and do this on getNextMsg() which worked well for push consumers,
but with pull based consumers would require a new pull request to be present to process
any redelivered and this could report redelivered status incorrectly on max deliver of 1.

Signed-off-by: Derek Collison <derek@nats.io>
@derekcollison derekcollison requested a review from a team as a code owner October 12, 2024 18:33
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 2c71b59 into main Oct 12, 2024
5 checks passed
@derekcollison derekcollison deleted the max-deliver-fix branch October 12, 2024 22:19
neilalexander added a commit that referenced this pull request Oct 16, 2024
Includes:

- #5986
- #5995 
- #6000
- #5996
- #6002
- #6003
- #6007

Signed-off-by: Neil Twigg <neil@nats.io>
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.

2 participants