mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-16 19:14:41 -07:00
Remove extra unlock that causes panics
Signed-off-by: Derek Collison <derek@nats.io>
This commit is contained in:
@@ -1276,7 +1276,6 @@ func (js *jetStream) createRaftGroup(rg *raftGroup, storage StorageType) error {
|
||||
defer js.mu.Unlock()
|
||||
s, cc := js.srv, js.cluster
|
||||
if cc == nil || cc.meta == nil {
|
||||
js.mu.Unlock()
|
||||
return NewJSClusterNotActiveError()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user