object-server returns 404 for POST to existing object

Bug #2054791 reported by Alistair Coles
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
In Progress
Undecided
Unassigned

Bug Description

When a DiskFile is opened, its on-disk files are first listed and then
xattr metadata is read. If a listed file no longer exists when its
metadata is read then a DiskFileNotExist exception is raised which
would previously cause the object server to return a 404.

This behavior is appropriate when the missing file is a data file (it
could have been removed by a concurrent request) but not when it is a
meta file (it could have been replaced by another meta file, but the
object still exists). For example, during a period of many concurrent
POST requests to an object in a production system, a significant
number of the POSTs returned 404 despite the object never being
deleted.

Changed in swift:
status: New → In Progress
Revision history for this message
Alistair Coles (alistair-coles) wrote :
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.