swift/etc
Clay Gerrard 754defc39c Client should retry when there's just one 404 and a bunch of errors
During a rebalance, it's expected that we may get a 404 for data that
does exist elsewhere in the cluster. Normally this isn't a problem; the
proxy sees the 404, keeps digging, and one of the other primaries will
serve the response.

Previously, if the other replicas were heavily loaded, the proxy would
see a bunch of timeouts and the fresh (empty) primary, treat the 404 as
good, and send that on to the client.

Now, have the proxy throw out that first 404 (provided it doesn't have a
timestamp); it will then return a 503 to the client, indicating that it
should try again.

Add a new (per-policy) proxy-server config option,
rebalance_missing_suppression_count; operators may use this to increase
the number of 404-no-timestamp responses to discard if their rebalances
are going faster than replication can keep up, or set it to zero to
return to the previous behavior.

Change-Id: If4bd39788642c00d66579b26144af8f116735b4d
2020-09-08 14:33:09 -07:00
..
account-server.conf-sample Allow replication servers to handle all request methods 2020-07-23 09:11:07 -07: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 Allow replication servers to handle all request methods 2020-07-23 09:11:07 -07: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 py3: Fix swift-drive-audit 2019-10-13 21:55:58 -07: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 py3: Work with proper native string paths in crypto meta 2020-07-29 17:33:54 -07: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 Deprecate per-service auto_create_account_prefix 2020-01-05 09:53:30 -06:00
object-server.conf-sample Allow replication servers to handle all request methods 2020-07-23 09:11:07 -07:00
proxy-server.conf-sample Client should retry when there's just one 404 and a bunch of errors 2020-09-08 14:33:09 -07:00
rsyncd.conf-sample Update SAIO & docker image to use 62xx ports 2020-07-20 15:17:12 -07:00
swift-rsyslog.conf-sample Add sample rsyslog.conf. 2013-06-25 10:24:26 +08:00
swift.conf-sample Deprecate per-service auto_create_account_prefix 2020-01-05 09:53:30 -06:00