Comment 15 for bug 1655608

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to swift (master)

Reviewed: https://review.opendev.org/c/openstack/swift/+/787279
Committed: https://opendev.org/openstack/swift/commit/7960097f02bab5a4568eddb6b98d7b8b47543561
Submitter: "Zuul (22348)"
Branch: master

commit 7960097f02bab5a4568eddb6b98d7b8b47543561
Author: Alistair Coles <email address hidden>
Date: Tue Apr 20 19:14:19 2021 +0100

    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