swift/swift
Kota Tsuyuzaki f578a35100 Fix efficient replication handoff delete
Current code might delete local handoff objects incorrectly
when remote node requires whole of the objects at poking
because empty cand_objs won't be applied to the delete candidate
objects list.

This patch ensures the delete candidate objects list always
will be updated (i.e. it will be empty list when the poke job
find whole local objects are required by remote), and then,
handle deleting objects correctly according to the delete
candidate.

This patch includes a test written by Clay Gerrard at [1].

Co-Authored-By: Clay Gerrard <clay.gerrard@gmail.com>

1: https://review.openstack.org/#/c/155542/

Change-Id: Ie8f75ed65c7bfefbb18ddccd9fe0e41b72dca0a4
2015-02-19 00:09:31 -08:00
..
account Fix account-reaper 2015-02-12 13:28:29 -08:00
cli Merge "Show each policy's information on quarantined files in recon" 2015-02-13 00:17:53 +00:00
common added swift_source to ratelimit info calls 2015-02-15 17:14:31 -08:00
container Logging a policy index when container PUT request conflicts 2015-02-12 05:12:56 +09:00
locale Imported Translations from Transifex 2015-02-16 06:30:54 +00:00
obj Fix efficient replication handoff delete 2015-02-19 00:09:31 -08:00
proxy Merge "Make container GET call authorize when account not found" 2015-02-13 19:15:57 +00:00
__init__.py Make pbr a build-time only dependency 2013-10-29 12:29:49 -07:00