Comment 2 for bug 1562083

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

Reviewed: https://review.openstack.org/299686
Committed: https://git.openstack.org/cgit/openstack/swift/commit/?id=ebf0b220127b14bec7c05f1bc0286728f27f39d1
Submitter: Jenkins
Branch: master

commit ebf0b220127b14bec7c05f1bc0286728f27f39d1
Author: Tim Burke <email address hidden>
Date: Wed Mar 30 14:19:00 2016 -0700

    Fix upgrade bug in versioned_writes

    Previously, versioned_writes assumed that all container servers would
    always have the latest Swift code, allowing them to return reversed
    listings. This could cause the wrong version of a file to be restored
    during rolling upgrades.

    Now, versioned_writes will check that the listing returned is actually
    reversed. If it isn't, we will revert to getting the full (in-order)
    listing of versions and reversing it on the proxy.

    Change-Id: Ib53574ff71961592426cb386ef00a75eb5824def
    Closes-Bug: 1562083