mirror of
https://github.com/minio/minio.git
synced 2024-12-23 21:55:53 -05:00
Remove notification from NotificationSys on bucket deletion (#14236)
This commit is contained in:
parent
24657859a8
commit
63a2e0bab6
@ -563,6 +563,7 @@ func (sys *NotificationSys) DeleteBucketMetadata(ctx context.Context, bucketName
|
||||
globalReplicationStats.Delete(bucketName)
|
||||
globalBucketMetadataSys.Remove(bucketName)
|
||||
globalBucketTargetSys.Delete(bucketName)
|
||||
globalNotificationSys.RemoveNotification(bucketName)
|
||||
if localMetacacheMgr != nil {
|
||||
localMetacacheMgr.deleteBucketCache(bucketName)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user