swift/test
Alistair Coles e69b3c60fe Avoid loops when gathering container listings from shards
Previously the proxy container controller could, in corner cases, get
into a loop while building a listing for a sharded container. For
example, if a root has a single shard then the proxy will be
redirected to that shard, but if that shard has shrunk into the root
then it will redirect the proxy back to the root, and so on until the
root is updated with the shard's shrunken status.

There is already a guard to prevent the proxy fetching shard ranges
again from the same container that it is *currently* querying for
listing parts. That deals with the case when a container fills in gaps
in its listing shard ranges with a reference to itself. This patch
extends that guard to prevent the proxy fetching shard ranges again
from any container that has previously been queried for listing parts.

Cherry-Picked-From: I7dc793f0ec65236c1278fd93d6b1f17c2db98d7b
Change-Id: I6cff16a00e48c4d069000dd54c6f4cb9f02f773d
2021-02-23 21:00:52 -06:00
..
functional func tests: Allow test_etag_quoter to be run multiple times 2020-04-23 21:33:21 +00:00
probe Populate shrinking shards with shard ranges learnt from root 2021-02-23 20:47:35 -06:00
s3api s3api: Implement object versioning API 2020-01-28 14:00:08 -08:00
unit Avoid loops when gathering container listings from shards 2021-02-23 21:00:52 -06:00
__init__.py Refactoring, test infrastructure changes and cleanup 2018-05-15 18:18:25 +01:00
sample.conf Merge "Note s3api compatability requirements in sample.conf" 2019-06-05 04:11:55 +00:00