mirror of
https://github.com/minio/minio.git
synced 2024-12-24 06:05:55 -05:00
fix: replication healing of deleted object versions (#13362)
fixes #13352
This commit is contained in:
parent
9b9ce1c625
commit
72a17bdd76
@ -499,7 +499,7 @@ func getHealReplicateObjectInfo(objInfo ObjectInfo, rcfg replicationConfig) Repl
|
|||||||
}
|
}
|
||||||
var dsc ReplicateDecision
|
var dsc ReplicateDecision
|
||||||
var tgtStatuses map[string]replication.StatusType
|
var tgtStatuses map[string]replication.StatusType
|
||||||
if oi.DeleteMarker {
|
if oi.DeleteMarker || !oi.VersionPurgeStatus.Empty() {
|
||||||
dsc = checkReplicateDelete(GlobalContext, oi.Bucket, ObjectToDelete{
|
dsc = checkReplicateDelete(GlobalContext, oi.Bucket, ObjectToDelete{
|
||||||
ObjectName: oi.Name,
|
ObjectName: oi.Name,
|
||||||
VersionID: oi.VersionID,
|
VersionID: oi.VersionID,
|
||||||
|
Loading…
Reference in New Issue
Block a user