mirror of
https://github.com/minio/minio
synced 2024-11-05 17:34:01 +00:00
initialize site replication subsys after loading metadata (#15099)
This commit is contained in:
parent
d228d29944
commit
55ee94bed0
1 changed files with 3 additions and 3 deletions
|
@ -597,9 +597,6 @@ func serverMain(ctx *cli.Context) {
|
|||
}
|
||||
}()
|
||||
|
||||
// Initialize site replication manager.
|
||||
globalSiteReplicationSys.Init(GlobalContext, newObject)
|
||||
|
||||
// Initialize quota manager.
|
||||
globalBucketQuotaSys.Init(newObject)
|
||||
|
||||
|
@ -622,6 +619,9 @@ func serverMain(ctx *cli.Context) {
|
|||
// Initialize bucket metadata sub-system.
|
||||
globalBucketMetadataSys.Init(GlobalContext, buckets, newObject)
|
||||
|
||||
// Initialize site replication manager.
|
||||
globalSiteReplicationSys.Init(GlobalContext, newObject)
|
||||
|
||||
// Initialize bucket notification targets.
|
||||
globalNotificationSys.InitBucketTargets(GlobalContext, newObject)
|
||||
|
||||
|
|
Loading…
Reference in a new issue