-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIXED] Acking a redelivered msg with more pending outstanding that s…
…hould move the ack floor. (#5008) A prior fix to deal with larger consumer delivery numbers due to redeliveries caused the ack floor calculations to not properly work when a gap was filled by an ack of a redelivered msg. The ack floor would move and fix itself when the pending went to zero. This fixes the bug introduced and goes back to the pending sequence always being the original consumer delivery sequence. Signed-off-by: Derek Collison <derek@nats.io>
- Loading branch information
Showing
2 changed files
with
72 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters