mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
Fix lock issue in filestore (#4458)
This should hopefully fix a panic on unlock of unlocked mutex in the file store. Signed-off-by: Neil Twigg <neil@nats.io>
This commit is contained in:
@@ -3509,7 +3509,7 @@ func (fs *fileStore) removeMsg(seq uint64, secure, viaLimits, needFSLock bool) (
|
||||
}
|
||||
|
||||
cb := fs.scb
|
||||
fs.mu.Unlock()
|
||||
fsUnlock()
|
||||
|
||||
// Storage updates.
|
||||
if cb != nil {
|
||||
|
||||
Reference in New Issue
Block a user