mirror of
https://github.com/minio/minio.git
synced 2025-11-09 21:49:46 -05:00
expire lockers if lockers are offline (#10749)
lockers currently might leave stale lockers, in unknown ways waiting for downed lockers. locker check interval is high enough to safely cleanup stale locks.
This commit is contained in:
@@ -38,7 +38,8 @@ type LockEntry struct {
|
||||
ServerList []string `json:"serverlist"` // List of servers participating in the lock.
|
||||
Owner string `json:"owner"` // Owner UUID indicates server owns the lock.
|
||||
ID string `json:"id"` // UID to uniquely identify request of client.
|
||||
Quorum int `json:"quorum"` // represents quorum number of servers required to hold this lock, used to look for stale locks.
|
||||
// Represents quorum number of servers required to hold this lock, used to look for stale locks.
|
||||
Quorum int `json:"quorum"`
|
||||
}
|
||||
|
||||
// LockEntries - To sort the locks
|
||||
|
||||
Reference in New Issue
Block a user