fix: replication regression due to proxying requests (#11356)

In PR #11165 due to incorrect proxying for 2 
way replication even when the object was not 
yet replicated

Additionally, fix metadata comparisons when
deciding to do full replication vs metadata copy.

fixes #11340
This commit is contained in:
Poorna Krishnamoorthy authored and GitHub committed 2021-01-27 11:22:34 -08:00
1 parent e019f21bda
commit fd3f02637a
8 files changed
+76 -33

No files matched your search

+1 -1
View File
@@ -164,7 +164,7 @@ const (
// Header indicates delete-marker replication status.
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"
MinIOSourceProxyRequest = "X-Minio-Source-Proxy-Request"
)
// Common http query params S3 API