diff --git a/cmd/notification.go b/cmd/notification.go index c26f61ebe..b620a223e 100644 --- a/cmd/notification.go +++ b/cmd/notification.go @@ -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) }