mirror of
https://github.com/minio/minio.git
synced 2025-11-21 02:09:08 -05:00
Use the same lock for the scanner and site replication healing (#15985)
This commit is contained in:
@@ -581,6 +581,8 @@ func serverMain(ctx *cli.Context) {
|
||||
xhttp.SetDeploymentID(globalDeploymentID)
|
||||
xhttp.SetMinIOVersion(Version)
|
||||
|
||||
globalLeaderLock = newSharedLock(GlobalContext, newObject, "leader.lock")
|
||||
|
||||
// Enable background operations for erasure coding
|
||||
initAutoHeal(GlobalContext, newObject)
|
||||
initHealMRF(GlobalContext, newObject)
|
||||
|
||||
Reference in New Issue
Block a user