Freeze the s3 APIs until the notification sub-system initializes completely (#17182)

This commit is contained in:
Praveen raj Mani
2023-05-19 21:14:48 +05:30
committed by GitHub
parent 41fa8fa2d2
commit ecfb18b26a
4 changed files with 29 additions and 11 deletions

View File

@@ -419,8 +419,8 @@ func (sys *BucketMetadataSys) Init(ctx context.Context, buckets []BucketInfo, ob
sys.objAPI = objAPI
// Load bucket metadata sys in background
go sys.init(ctx, buckets)
// Load bucket metadata sys.
sys.init(ctx, buckets)
return nil
}