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
2020-06-17 08:33:14 -07:00
committed by GitHub
parent 67ca157329
commit 4ac31ea82b
3 changed files with 53 additions and 34 deletions

View File

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