summaryrefslogtreecommitdiff
path: root/swift/common/manager.py
diff options
context:
space:
mode:
authorClay Gerrard <clay.gerrard@gmail.com>2015-04-03 16:23:14 -0700
committerClay Gerrard <clay.gerrard@gmail.com>2015-04-14 00:52:17 -0700
commitb2189ef47ae08c39c348e7f4c90697ecb9ba64f9 (patch)
tree40b7f94ff15d2404a488c667e29f6989bed1fbb2 /swift/common/manager.py
parent61a9d35fd58381b7c299f125ef01d00f9b0203fe (diff)
downloadswift-b2189ef47ae08c39c348e7f4c90697ecb9ba64f9.tar.gz
Fix account reaper for > 3 replicas
There's a pre-existing IndexError in the pop from the container node list in reaper's reap_object method for object rings with a replica count greater than the container replica count. Which is more likely on EC storage policies. When making the backend direct delete requests to the nodes once the container node's list is exhausted the generic exception handler logs the error and breaks out of any other backend object requests - but the reaper marches forward and eventually the tombstones are replicated. This change just cycles the container headers across all the nodes - which seems reasonable enough - but could certainly garner bikeshedding. Change-Id: I5897d00b0a8c1e05884945dd93d9ce891b207001
Diffstat (limited to 'swift/common/manager.py')
0 files changed, 0 insertions, 0 deletions