mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-17 11:24:44 -07:00
Needed to undo since we already recorded
Signed-off-by: Derek Collison <derek@nats.io>
This commit is contained in:
@@ -1596,6 +1596,8 @@ func (mb *msgBlock) skipMsg(seq uint64, now time.Time) {
|
||||
mb.dmap = make(map[uint64]struct{})
|
||||
}
|
||||
mb.dmap[seq] = struct{}{}
|
||||
mb.msgs--
|
||||
mb.bytes -= emptyRecordLen
|
||||
}
|
||||
mb.mu.Unlock()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user