fix: replication healing of deleted object versions (#13362)

fixes #13352
This commit is contained in:
Poorna K authored and GitHub committed 2021-10-05 15:05:30 -07:00
1 parent 9b9ce1c625
commit 72a17bdd76
1 file changed
+1 -1
+1 -1
View File
@@ -499,7 +499,7 @@ func getHealReplicateObjectInfo(objInfo ObjectInfo, rcfg replicationConfig) Repl
}
var dsc ReplicateDecision
var tgtStatuses map[string]replication.StatusType
if oi.DeleteMarker {
if oi.DeleteMarker || !oi.VersionPurgeStatus.Empty() {
dsc = checkReplicateDelete(GlobalContext, oi.Bucket, ObjectToDelete{
ObjectName: oi.Name,
VersionID: oi.VersionID,