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 NumPending higher than total stream messages. #5655

Merged
merged 1 commit into from
Jul 15, 2024

Conversation

derekcollison
Copy link
Member

When we matched all and had no interior deletes we would short circuit num pending calculations but were not accounting for sseq < state.FirstSeq.

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

When we matched all and had no interior deletes we would short circuit num pending calculations but were not accounting for sseq < state.FirstSeq.

Signed-off-by: Derek Collison <derek@nats.io>
@derekcollison derekcollison requested a review from a team as a code owner July 15, 2024 15:47
Copy link
Member

@wallyqs wallyqs 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 b7a3df8 into main Jul 15, 2024
5 checks passed
@derekcollison derekcollison deleted the cons-info-restart branch July 15, 2024 16:21
bruth pushed a commit that referenced this pull request Jul 15, 2024
Includes:

- #5649
- #5651
- #5650
- #5655

---------

Signed-off-by: Derek Collison <derek@nats.io>
Signed-off-by: Waldemar Quevedo <wally@nats.io>
Co-authored-by: Derek Collison <derek@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