Skip to content

Commit

Permalink
Do not bump clfs on seq mismatch when before stream LastSeq (#5821)
Browse files Browse the repository at this point in the history
Sometimes during a stream catchup after a restart, when applying entries
the clfs could have been bumped due to msg not found errors from likely
deleted messages, causing a stream replica to remain out of sync.

Fixes #5205

---------

Signed-off-by: Waldemar Quevedo <wally@nats.io>
Signed-off-by: Derek Collison <derek@nats.io>
Co-authored-by: Derek Collison <derek@nats.io>
  • Loading branch information
wallyqs and derekcollison authored Aug 26, 2024
1 parent 3fd298e commit 52edb12
Show file tree
Hide file tree
Showing 2 changed files with 405 additions and 2 deletions.
Loading

0 comments on commit 52edb12

Please sign in to comment.