mirror of
https://github.com/minio/minio.git
synced 2026-11-13 14:44:19 +00:00
Clean up targets properly on bucket deletion (#12565)
This commit is contained in:
1 parent
d40268d899
commit
ba6e9682e5
3 files changed
+16
No files matched your search
@@ -521,6 +521,7 @@ func (s *peerRESTServer) DeleteBucketMetadataHandler(w http.ResponseWriter, r *h
|
||||
|
||||
globalReplicationStats.Delete(bucketName)
|
||||
globalBucketMetadataSys.Remove(bucketName)
|
||||
globalBucketTargetSys.Delete(bucketName)
|
||||
if localMetacacheMgr != nil {
|
||||
localMetacacheMgr.deleteBucketCache(bucketName)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user