swift slo manifest etag
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi Swift mavens,
Current swift documentation states that slo manifest etag and size_bytes keys are optional [1]. I found [2], which suggests that only recently did Swift object storage actually behave as if the etag is "fully optional."
Currently attempts to fetch an object whose manifest etag is not defined ("") result in ERR_PRECONDITION_FAILED due to the if_match logic in RGWRados::Object::Read::prepare(). Should this logic permit the if-match to succeed if etag is not defined?
Thanks,
Matt
[1] http://docs.openstack.org/developer/swift/overview_large_objects.html
[2] http://git.openstack.org/cgit/openstack/swift/commit/?id=462f91b040ff47b51e5397eed930785590638d69
Signature · 10 lines
Matt Benjamin Red Hat, Inc. 315 West Huron Street, Suite 140A Ann Arbor, Michigan 48103 http://www.redhat.com/en/technologies/storage tel. 734-821-5101 fax. 734-769-8938 cel. 734-216-5309
Quoted 6 lines · Matt Benjamin
Hi Swift mavens,
Current swift documentation states that slo manifest etag and
size_byteskeys are optional [1]. I found [2], which suggests that only recently did Swift object storage actually behave as if the etag is "fully optional."Currently attempts to fetch an object whose manifest etag is not defined ("") result in
ERR_PRECONDITION_FAILEDdue to theif_matchlogic inRGWRados::Object::Read::prepare(). Should this logic permit the if-match to succeed if etag is not defined?
We should only fail if the if-match header is specified.
Yehuda
Quoted 22 lines
Thanks,
Matt
[1] http://docs.openstack.org/developer/swift/overview_large_objects.html
[2] http://git.openstack.org/cgit/openstack/swift/commit/?id=462f91b040ff47b51e5397eed930785590638d69--
Matt Benjamin
Red Hat, Inc.
315 West Huron Street, Suite 140A
Ann Arbor, Michigan 48103http://www.redhat.com/en/technologies/storage
tel. 734-821-5101 fax. 734-769-8938 cel. 734-216-5309--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html