Skip to content

Consumer pending gets stuck.#2835

Merged
derekcollison merged 1 commit intomainfrom
consumer_pending_bug
Feb 1, 2022
Merged

Consumer pending gets stuck.#2835
derekcollison merged 1 commit intomainfrom
consumer_pending_bug

Conversation

@derekcollison
Copy link
Copy Markdown
Member

Under certain scenarios the pending for a consumer could appear to get stuck.

Under the covers we were calculating pending per msg block incorrectly when a single message existed beyond the requested sequence.

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

/cc @nats-io/core

…t stuck.

Under the covers we were calculating pending per msg block incorrectly when a single message existed beyond the requested sequence.

Signed-off-by: Derek Collison <derek@nats.io>
Copy link
Copy Markdown
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

@derekcollison derekcollison merged commit d97968e into main Feb 1, 2022
@derekcollison derekcollison deleted the consumer_pending_bug branch February 1, 2022 21: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.

2 participants