mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-21 03:46:37 +00:00
fix: resolve critical namespace lock bug and improve test reliability
This commit is contained in:
@@ -84,7 +84,7 @@ impl NsLockMap {
|
||||
nslk.lock.un_lock().await;
|
||||
}
|
||||
|
||||
nslk.reference -= 0;
|
||||
nslk.reference -= 1;
|
||||
|
||||
if nslk.reference == 0 {
|
||||
w_lock_map.remove(&resource);
|
||||
|
||||
Reference in New Issue
Block a user