distribution/registry
Stefan Majewsky 1f03d4e77d [Swift] add simple heuristic to detect incomplete DLOs during read ops
This is similar to waitForSegmentsToShowUp which is called during
Close/Commit. Intuitively, you wouldn't expect missing segments to be a
problem during read operations, since the previous Close/Commit
confirmed that all segments are there.

But due to the distributed nature of Swift, the read request could be
hitting a different storage node of the Swift cluster, where the
segments are still missing.

Load tests on my team's staging Swift cluster have shown this to occur
about once every 100-200 layer uploads when the Swift proxies are under
high load. The retry logic, borrowed from waitForSegmentsToShowUp, fixes
this temporary inconsistency.

Signed-off-by: Stefan Majewsky <stefan.majewsky@sap.com>
2016-07-08 13:47:41 +02:00
..
api fix typos 2016-06-22 12:40:21 +08:00
auth Merge pull request #1465 from dmcgowan/token-server-oauth 2016-06-13 15:01:06 -07:00
client Changes the client Tags All() method to follow links 2016-06-28 15:49:14 -07:00
handlers registry: avoid formatting errors with %#v 2016-07-01 11:30:58 -03:00
listener [Server] Listen and serve on a unix socket 2015-05-11 16:00:14 +03:00
middleware Add support for blobAccessController middleware 2016-05-19 14:02:15 +02:00
proxy Remove signature store from registry. Return a generated signature for manifest 2016-05-27 13:19:26 -07:00
storage [Swift] add simple heuristic to detect incomplete DLOs during read ops 2016-07-08 13:47:41 +02:00
doc.go Move initialization code from main.go to the registry package 2015-09-09 14:39:31 -07:00
registry.go Add support for Let's Encrypt 2016-06-13 11:30:42 -07:00
root.go Remove signature store from registry. Return a generated signature for manifest 2016-05-27 13:19:26 -07:00