From f24d8127ab2f225df41054c331cc0585dd5fde84 Mon Sep 17 00:00:00 2001 From: Poorna Krishnamoorthy Date: Wed, 10 Feb 2021 23:41:41 -0800 Subject: [PATCH] fix: DeleteMultipleObjectsHandler to process deleted objects correctly (#11515) DeleteMarkerVersionID which is returned by the lower layer should not be used in the key to lookup ObjectToDelete map --- cmd/bucket-handlers.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/bucket-handlers.go b/cmd/bucket-handlers.go index 4305d2462..8d8e5f0a6 100644 --- a/cmd/bucket-handlers.go +++ b/cmd/bucket-handlers.go @@ -547,7 +547,6 @@ func (api objectAPIHandlers) DeleteMultipleObjectsHandler(w http.ResponseWriter, dindex := objectsToDelete[ObjectToDelete{ ObjectName: dObjects[i].ObjectName, VersionID: dObjects[i].VersionID, - DeleteMarkerVersionID: dObjects[i].DeleteMarkerVersionID, VersionPurgeStatus: dObjects[i].VersionPurgeStatus, DeleteMarkerReplicationStatus: dObjects[i].DeleteMarkerReplicationStatus, PurgeTransitioned: dObjects[i].PurgeTransitioned,