swift/test/unit/obj
Alistair Coles 7960097f02 reconstructor: log more details when rebuild fails
When the reconstructor fails to gather enough fragments to rebuild a
missing fragment, log more details about the responses that it *did*
get:

  - log total number of ok responses, as well as the number of useful
    responses, to reveal if, for example, there might have been
    duplicate frag indexes or mixed etags.

  - log the mix of error status codes received to reveal if, for
    example, they were all 404s.

Also refactor reconstruct_fa to track all state related to a timestamp
in a small data encapsulation class rather than in multiple dicts.

Related-Bug: 1655608
Change-Id: I3f87933f788685775ce59f3724f17d5db948d502
2021-04-27 11:54:35 +01:00
..
__init__.py Initial commit of Swift code 2010-07-12 17:03:45 -05:00
common.py ssync: sync non-durable fragments from handoffs 2021-01-20 12:00:10 +00:00
test_auditor.py Let developers/operators add watchers to object audit 2020-12-26 17:16:14 -06:00
test_diskfile.py Merge "relinker: retry links from older part powers" 2021-04-02 00:27:22 +00:00
test_expirer.py Merge "Add a new URL parameter to allow for async cleanup of SLO segments" 2020-11-18 00:50:54 +00:00
test_reconstructor.py reconstructor: log more details when rebuild fails 2021-04-27 11:54:35 +01:00
test_replicator.py obj: Include timeout value when logging long-running rsyncs 2021-01-19 10:43:39 -08:00
test_server.py diskfile: Prevent get_hashes from creating missing partition dirs 2021-03-29 10:26:05 -07:00
test_ssync.py reconstructor: log more details when rebuild fails 2021-04-27 11:54:35 +01:00
test_ssync_receiver.py ssync: sync non-durable fragments from handoffs 2021-01-20 12:00:10 +00:00
test_ssync_sender.py ssync: sync non-durable fragments from handoffs 2021-01-20 12:00:10 +00:00
test_updater.py sharding: Better-handle newlines in container names 2020-01-03 16:04:57 -08:00