Object remains on handoff after DELETE
Bug #1314799 reported by
Chuck Thier
This bug report is a duplicate of:
Bug #1560574: GET/HEAD should stop continuing to search more nodes if a tombstone is reached.
Edit
Remove
This bug affects 6 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
New
|
Medium
|
Thiago da Silva |
Bug Description
When a user issues a DELETE, and an object is on a handoff node, the handoff object does not get deleted. This normally wouldn't be a big issues, except a HEAD or GET on the object will still find it, thus not appearing to be deleted by the user, at least until replication gets to the object. I'm not advocating that we issue a DELETE to all handoff nodes as well, but should figure out some way to handle this case.
It could be argued to chalk it up to eventual consistency, but I think it warrants trying to handle in a reasonable way.
To post a comment you must log in.
I wonder if we can differentiate at the proxy server an object server saying "404 I didn't find it" and "404 I found a tombstone with timestamp X". Then the proxy can do the right thing (ie probably keep looking into handoffs and only return if a newer non-404 isn't returned).