mirror of
https://github.com/minio/minio.git
synced 2025-04-05 04:10:28 -04:00
initialize site replication subsys after loading metadata (#15099)
This commit is contained in:
parent
d228d29944
commit
55ee94bed0
@ -597,9 +597,6 @@ func serverMain(ctx *cli.Context) {
|
|||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
|
||||||
// Initialize site replication manager.
|
|
||||||
globalSiteReplicationSys.Init(GlobalContext, newObject)
|
|
||||||
|
|
||||||
// Initialize quota manager.
|
// Initialize quota manager.
|
||||||
globalBucketQuotaSys.Init(newObject)
|
globalBucketQuotaSys.Init(newObject)
|
||||||
|
|
||||||
@ -622,6 +619,9 @@ func serverMain(ctx *cli.Context) {
|
|||||||
// Initialize bucket metadata sub-system.
|
// Initialize bucket metadata sub-system.
|
||||||
globalBucketMetadataSys.Init(GlobalContext, buckets, newObject)
|
globalBucketMetadataSys.Init(GlobalContext, buckets, newObject)
|
||||||
|
|
||||||
|
// Initialize site replication manager.
|
||||||
|
globalSiteReplicationSys.Init(GlobalContext, newObject)
|
||||||
|
|
||||||
// Initialize bucket notification targets.
|
// Initialize bucket notification targets.
|
||||||
globalNotificationSys.InitBucketTargets(GlobalContext, newObject)
|
globalNotificationSys.InitBucketTargets(GlobalContext, newObject)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user