swift/test
Alistair Coles 0a230e5aed Fix logging in proxy container GET path
The proxy tried to map the x-backend-sharding-state header value to
a ShardRange state, but the value is the container *db* state. The
attempted mapping would commonly fail because db state names do not
always correspond to ShardRange state names, in which the case the
fallback was to log the header value i.e. the correct outcome.

Sometimes the attempted mapping would succeed because for example
'sharded' is both a db state name and a ShardRange state name. In that
case the log message would look something like:

  "Found 1024 objects in shard (state=(70, 'sharded')), total = 1024"

i.e. the tuple of ShardRange state name and number was logged, which
was inappropriate.

Change-Id: Ic08e6e7df7162a4c1283a3ef6e67c3b21a4ce494
2021-01-22 13:10:16 +00:00
..
functional replace md5 with swift utils version 2020-12-15 09:52:55 -05:00
probe Refactor reconstructor probe tests 2021-01-11 13:57:55 +00:00
s3api replace md5 with swift utils version 2020-12-15 09:52:55 -05:00
unit Fix logging in proxy container GET path 2021-01-22 13:10:16 +00:00
__init__.py py2: Suppress more CryptographyDeprecationWarnings 2020-11-13 22:04:03 -08:00
sample.conf fix s3api functional tests 2020-05-15 22:38:04 -07:00