mirror of
https://github.com/minio/minio.git
synced 2025-11-20 18:06:10 -05:00
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:
committed by
GitHub
parent
e019f21bda
commit
fd3f02637a
@@ -53,6 +53,7 @@ type ObjectOptions struct {
|
||||
TransitionStatus string // status of the transition
|
||||
NoLock bool // indicates to lower layers if the caller is expecting to hold locks.
|
||||
ProxyRequest bool // only set for GET/HEAD in active-active replication scenario
|
||||
ProxyHeaderSet bool // only set for GET/HEAD in active-active replication scenario
|
||||
ParentIsObject func(ctx context.Context, bucket, parent string) bool // Used to verify if parent is an object.
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user