mirror of
https://github.com/minio/minio.git
synced 2024-12-24 06:05:55 -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)
|
globalReplicationStats.Delete(bucketName)
|
||||||
globalBucketMetadataSys.Remove(bucketName)
|
globalBucketMetadataSys.Remove(bucketName)
|
||||||
globalBucketTargetSys.Delete(bucketName)
|
globalBucketTargetSys.Delete(bucketName)
|
||||||
|
globalNotificationSys.RemoveNotification(bucketName)
|
||||||
if localMetacacheMgr != nil {
|
if localMetacacheMgr != nil {
|
||||||
localMetacacheMgr.deleteBucketCache(bucketName)
|
localMetacacheMgr.deleteBucketCache(bucketName)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user