Avoid notification event for replicas (#11683)

Creating notification events for replica creation
is not particularly useful to send as the notification
event generated at source already includes replication
completion events.

For applications using replica cluster as failover, avoiding
duplicate notifications for replica event will allow seamless
failover.
This commit is contained in:
Poorna Krishnamoorthy
2021-03-03 11:13:31 -08:00
committed by GitHub
parent 039f59b552
commit 690434514d
6 changed files with 28 additions and 8 deletions

View File

@@ -165,6 +165,8 @@ const (
MinIODeleteMarkerReplicationStatus = "X-Minio-Replication-DeleteMarker-Status"
// Header indicates if its a GET/HEAD proxy request for active-active replication
MinIOSourceProxyRequest = "X-Minio-Source-Proxy-Request"
// Header indicates that this request is a replication request to create a REPLICA
MinIOSourceReplicationRequest = "X-Minio-Source-Replication-Request"
)
// Common http query params S3 API