Account PUT needs two-phase commit

Bug #1945028 reported by Tim Burke
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
New
Undecided
Unassigned

Bug Description

Otherwise, you can get into a couple weird/bad situations on PUT to a deleted account:

* During a rebalance, we can return a 403 to the client but still create a new DB, whose put_timestamp gets replicated out.
* With more failures, we may write to handoffs and return a 201 despite the proxy having a 403 in hand.

We should use Expect:100-continue and Transfer-Encoding:chunked to check all primaries for 403s and only send the terminating 0-byte chunk if there aren't any, similar to what we do with 0-byte PUTs with If-None-Match:*

See also: https://bugs.launchpad.net/swift/+bug/1182628

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.