Updated openstack/openstack

Project: openstack/swift  d46b0f29f9e023249b582bfa1fbf80cb8f577182

Limit number of revert tombstone SSYNC requests

Revert tombstone only parts try to talk to all primary nodes - this
fixes it to randomize selection within part_nodes. Corresponding probe
test is modified to reflect this change.

The primary improvement of this patch is the reconstuctor at a handoff
node is being able to delete local tombstones when it succeeds to sync
to less than all primary nodes. (Before this patch, it requires all
nodes are responsible for the REVERT requests)

The number of primary nodes to communicate with the reconstructor can be
in dicsussion more but, right now with this patch, it's (replicas - k + 1)
that is able to prevent stale read.

*BONUS*

- Fix mis-testsetting (was setting less replicas than ec_k + ec_m)
  for reconstructor ring in the unit test

Co-Authored-By: Kota Tsuyuzaki <tsuyuzaki.kota@lab.ntt.co.jp>
Co-Authored-By: Clay Gerrard <clay.gerrard@gmail.com>

Change-Id: I05ce8fe75f1c4a7971cc8995b003df818b69b3c1
Closes-Bug: #1668857
This commit is contained in:
Jenkins 2017-06-08 18:10:07 +00:00 committed by Gerrit Code Review
parent 01d965e046
commit fcdbab5c63
1 changed files with 1 additions and 1 deletions

2
swift

@ -1 +1 @@
Subproject commit bb80773153d34c367a269c836d14a3262112f222
Subproject commit d46b0f29f9e023249b582bfa1fbf80cb8f577182