initialize site replication subsys after loading metadata (#15099)

This commit is contained in:
Poorna 2022-06-16 19:00:35 -07:00 committed by GitHub
parent d228d29944
commit 55ee94bed0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)