add if-match support

Bug #1567575 reported by John Dickinson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
New
Wishlist
Unassigned

Bug Description

Add support for If-Match conditional headers on PUTs.

Like If-None-Match, we can only really support * as the value (because of eventual consistency in a distributed system). Attached is a very short start that sketches out where the major pieces need to be added.

Revision history for this message
John Dickinson (notmyname) wrote :
Revision history for this message
clayg (clay-gerrard) wrote :

needs use case - or we'll probably end up doing it wrong.

Changed in swift:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenStack Object Storage (swift) because there has been no activity for 60 days.]

Changed in swift:
status: Incomplete → Expired
Revision history for this message
Thomas Herve (therve) wrote :

I had the use case here: https://review.openstack.org/#/c/521468/

I thought it was (wrongly) implemented. We use swift to exchange data, and we need it to do so transactionally. Ended up using the database as a transaction mechanism :/

Changed in swift:
status: Expired → New
Revision history for this message
Thomas Herve (therve) wrote :

Oh I was using if-match with a value, which may not be the scope of that one.

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.