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.
Reviewed: https:/ /review. openstack. org/299686 /git.openstack. org/cgit/ openstack/ swift/commit/ ?id=ebf0b220127 b14bec7c05f1bc0 286728f27f39d1
Committed: https:/
Submitter: Jenkins
Branch: master
commit ebf0b220127b14b ec7c05f1bc02867 28f27f39d1
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: Ib53574ff719615 92426cb386ef00a 75eb5824def
Closes-Bug: 1562083