mirror of
https://github.com/minio/minio.git
synced 2025-11-07 04:42:56 -05:00
fix: expire locks only on participating lockers (#11335)
additionally also add a new ForceUnlock API, to allow forcibly unlocking locks if possible.
This commit is contained in:
@@ -144,9 +144,10 @@ func serverHandleCmdArgs(ctx *cli.Context) {
|
||||
for _, z := range globalEndpoints {
|
||||
for _, ep := range z.Endpoints {
|
||||
if ep.IsLocal {
|
||||
continue
|
||||
globalRemoteEndpoints[GetLocalPeer(globalEndpoints)] = ep
|
||||
} else {
|
||||
globalRemoteEndpoints[ep.Host] = ep
|
||||
}
|
||||
globalRemoteEndpoints[ep.Host] = ep
|
||||
}
|
||||
}
|
||||
logger.FatalIf(err, "Invalid command line arguments")
|
||||
|
||||
Reference in New Issue
Block a user