swift/etc
Clay Gerrard ea8e545a27 Rebuild frags for unmounted disks
Change the behavior of the EC reconstructor to perform a fragment
rebuild to a handoff node when a primary peer responds with 507 to the
REPLICATE request.

Each primary node in a EC ring will sync with exactly three primary
peers, in addition to the left & right nodes we now select a third node
from the far side of the ring.  If any of these partners respond
unmounted the reconstructor will rebuild it's fragments to a handoff
node with the appropriate index.

To prevent ssync (which is uninterruptible) receiving a 409 (Conflict)
we must give the remote handoff node the correct backend_index for the
fragments it will recieve.  In the common case we will use
determistically different handoffs for each fragment index to prevent
multiple unmounted primary disks from forcing a single handoff node to
hold more than one rebuilt fragment.

Handoff nodes will continue to attempt to revert rebuilt handoff
fragments to the appropriate primary until it is remounted or
rebalanced.  After a rebalance of EC rings (potentially removing
unmounted/failed devices), it's most IO efficient to run in
handoffs_only mode to avoid unnecessary rebuilds.

Closes-Bug: #1510342

Change-Id: Ief44ed39d97f65e4270bf73051da9a2dd0ddbaec
2019-02-08 18:04:55 +00:00
..
account-server.conf-sample Add databases_per_second to db daemons 2018-10-30 22:28:05 +00:00
container-reconciler.conf-sample Change schedule priority of daemon/server in config 2016-08-10 23:56:15 +02:00
container-server.conf-sample Add databases_per_second to db daemons 2018-10-30 22:28:05 +00:00
container-sync-realms.conf-sample Removing some redundant words 2016-03-25 17:20:24 +07:00
dispersion.conf-sample Fix swift-dispersion in multi-region setups 2016-06-01 15:35:47 +02:00
drive-audit.conf-sample Added comment for "user" option in drive-audit config 2016-11-21 22:13:11 +01:00
internal-client.conf-sample add symlink to container sync default and sample config 2017-12-14 12:13:20 -08:00
keymaster.conf-sample Add keymaster to fetch root secret from KMIP service 2018-07-03 09:00:21 +01:00
memcache.conf-sample fixups for ipv6 memcache_servers docs 2016-01-12 21:08:58 -08:00
mime.types-sample PEP 8 compliance and small modification to mime.types file 2010-11-23 19:26:02 -06:00
object-expirer.conf-sample Add request_tries option to object-expirer.conf-sample 2018-01-15 15:29:11 +00:00
object-server.conf-sample Rebuild frags for unmounted disks 2019-02-08 18:04:55 +00:00
proxy-server.conf-sample Merge "s3api: Allow concurrent multi-deletes" 2018-12-08 10:05:39 +00:00
rsyncd.conf-sample Remove deprecated vm_test_mode option 2017-05-25 13:02:42 -07:00
swift-rsyslog.conf-sample Add sample rsyslog.conf. 2013-06-25 10:24:26 +08:00
swift.conf-sample Configure diskfile per storage policy 2018-08-24 02:29:13 +00:00