mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-17 03:24:40 -07:00
Merge branch 'main' into dev
This commit is contained in:
@@ -749,7 +749,9 @@ func (mset *stream) addConsumerWithAssignment(config *ConsumerConfig, oname stri
|
||||
|
||||
if o.store != nil && o.store.HasState() {
|
||||
// Restore our saved state.
|
||||
o.mu.Lock()
|
||||
o.readStoredState(0)
|
||||
o.mu.Unlock()
|
||||
} else {
|
||||
// Select starting sequence number
|
||||
o.selectStartingSeqNo()
|
||||
|
||||
Reference in New Issue
Block a user