diff --git a/cmd/server-main.go b/cmd/server-main.go index e88f021de..b4094119b 100644 --- a/cmd/server-main.go +++ b/cmd/server-main.go @@ -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)