Version overwrite of an object with max length name fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Put an object with a name of the configured max_object_
Put again creating a new version of the object (overwrite) - get error 412 precondition failed.
This happens because there is a timestamp added to the object name when added to the X-Versions-
A quick example of a functional test that reveals the issue can be found at: https:/
This can be reproduced on master.
Changed in swift: | |
assignee: | nobody → Janie Richling (jrichli) |
I'd support bypassing the name length check for versioned objects (but this, of course, would need to be documented for deployers). This is the best end-user experience (and doesn't break anything for users).