mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-17 03:24:40 -07:00
[FIXED] Make sure order correct (#4455)
Signed-off-by: Derek Collison <derek@nats.io>
This commit is contained in:
@@ -3945,7 +3945,7 @@ func (mb *msgBlock) updateAccounting(seq uint64, ts int64, rl uint64) {
|
||||
seq = seq &^ ebit
|
||||
}
|
||||
|
||||
if mb.first.seq == 0 || mb.first.ts == 0 && seq >= mb.first.seq {
|
||||
if (mb.first.seq == 0 || mb.first.ts == 0) && seq >= mb.first.seq {
|
||||
mb.first.seq = seq
|
||||
mb.first.ts = ts
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user