Add x-newest header docs for openstack swift
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-api-site |
Fix Released
|
Medium
|
Fabien Boucher |
Bug Description
When a GET or HEAD request is made to an object, the default behavior is to get the data from one of the replicas (could be any of them). The downside to this is that if there are older versions of the object (due to eventual consistency) it is possible to get an older version of the object. The upside is that the for the majority of use cases, this isn't an issue.
For the small subset of use cases that need to make sure that they get the latest version of the object, they can set the "X-Newest" header to "True". If this is set, the proxy server will check all replicas of the object and only return the newest object. The downside to this is that the request can take longer, since it has to contact all the replicas. It is also more expensive for the backend, so only recommended when it is absolutely needed.
--
Chuck
Changed in openstack-api-site: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in openstack-api-site: | |
assignee: | nobody → Fabien Boucher (fabien-boucher) |
Changed in openstack-api-site: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/61090
Review: https:/