mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-11-27 20:59:42 +08:00
comments
This commit is contained in:
parent
7f685ce7ba
commit
3b50139f68
@ -12,7 +12,7 @@ var LockErrorNonEmptyTokenOnExpiredLock = fmt.Errorf("lock: non-empty token on a
|
|||||||
var LockErrorTokenMismatch = fmt.Errorf("lock: token mismatch")
|
var LockErrorTokenMismatch = fmt.Errorf("lock: token mismatch")
|
||||||
var UnlockErrorTokenMismatch = fmt.Errorf("unlock: token mismatch")
|
var UnlockErrorTokenMismatch = fmt.Errorf("unlock: token mismatch")
|
||||||
|
|
||||||
// LockManager lock manager
|
// LockManager local lock manager, used by distributed lock manager
|
||||||
type LockManager struct {
|
type LockManager struct {
|
||||||
locks *xsync.MapOf[string, *Lock]
|
locks *xsync.MapOf[string, *Lock]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user