Skip to content

Commit

Permalink
Fix race condition on Raft debug print (#4833)
Browse files Browse the repository at this point in the history
Signed-off-by: Neil Twigg <neil@nats.io>
  • Loading branch information
derekcollison authored Nov 30, 2023
2 parents e0d45bd + ba8d6c4 commit fd8646a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/jetstream_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -1991,9 +1991,9 @@ func (js *jetStream) createRaftGroup(accName string, rg *raftGroup, storage Stor
js.mu.Unlock()
return nil
}
js.mu.Unlock()

s.Debugf("JetStream cluster creating raft group:%+v", rg)
js.mu.Unlock()

sysAcc := s.SystemAccount()
if sysAcc == nil {
Expand Down

0 comments on commit fd8646a

Please sign in to comment.