avoid crash when initializing bucket quota cache (#20258)

This commit is contained in:
Harshavardhana
2024-08-14 17:34:56 -07:00
committed by GitHub
parent 743ddb196a
commit db78431b1d
4 changed files with 16 additions and 36 deletions

View File

@@ -1090,11 +1090,6 @@ func serverMain(ctx *cli.Context) {
globalSiteReplicationSys.Init(GlobalContext, newObject)
})
// Initialize quota manager.
bootstrapTrace("globalBucketQuotaSys.Init", func() {
globalBucketQuotaSys.Init(newObject)
})
// Populate existing buckets to the etcd backend
if globalDNSConfig != nil {
// Background this operation.