mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
Fix for merge issue that duplicated the index increment, causing snapshot tests to fail
Signed-off-by: Derek Collison <derek@nats.io>
This commit is contained in:
@@ -1307,7 +1307,6 @@ func (mb *msgBlock) rebuildStateLocked() (*LostStreamData, []uint64, error) {
|
||||
seq = seq &^ tbit
|
||||
// Need to process this here and make sure we have accounted for this properly.
|
||||
tombstones = append(tombstones, seq)
|
||||
index += rl
|
||||
if minTombstoneSeq == 0 || seq < minTombstoneSeq {
|
||||
minTombstoneSeq, minTombstoneTs = seq, ts
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user