Browse Source

fix RUnlock of unlocked RWMutex

pull/3338/head
Konstantin Lebedev 3 years ago
parent
commit
c88ea31f62
  1. 1
      weed/server/master_server.go

1
weed/server/master_server.go

@ -381,7 +381,6 @@ func (ms *MasterServer) OnPeerUpdate(update *master_pb.ClusterNodeUpdate, startF
*onPeerUpdateDoneCn <- peerName
}
}
ms.onPeerUpdateLock.RUnlock()
} else if isLeader {
if onPeerUpdateDoneCnPrev, ok := ms.onPeerUpdateDoneCns[peerName]; ok {
*onPeerUpdateDoneCnPrev <- ResetRaftServerRemovalTimeMsg

Loading…
Cancel
Save