-
-
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] Stream recovery with corrupt msg block with sequence gaps. (#…
…4344) This is a fix for a bad msg blk detected in the field that had sequence holes. The stream had max msgs per subject of one and only one subject but had lots of messages. The stream did not recover correctly, and upon further inspection determined that a msg blk had holes, which should not be possible. We now detect the holes and deal with the situation appropriately. Heavily tested on the data dump from the field. Signed-off-by: Derek Collison <derek@nats.io>
- Loading branch information
Showing
1 changed file
with
85 additions
and
28 deletions.
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