fix: find current location of object multi-zones (#9840)

PutObject on multiple-zone with versioning would not
overwrite the correct location of the object if the
object has delete marker, leading to duplicate objects
on two zones.

This PR fixes by adding affinity towards delete marker
when GetObjectInfo() returns error, use the zone index
which has the delete marker.
This commit is contained in:
Harshavardhana authored and GitHub committed 2020-06-17 08:33:14 -07:00
1 parent 67ca157329
commit 4ac31ea82b
3 files changed
+53 -34

No files matched your search

+1 -3
View File
@@ -4,9 +4,7 @@ on:
pull_request:
branches:
- master
push:
branches:
- master
- release
jobs:
build: