openstack-ansible-os_swift/releasenotes/notes/swift-versioned-writes-middleware-0b529e3cf2fb493d.yaml
Andy McCrae de7ab0a800 Allow X-History-Location versioned_writes
Versioned Objects in Swift now use a middleware that is added to the
pipeline instead of the "allow_versions" in the container config. These
have 2 different Headers, so to prevent "X-Versions-Location" from not
working the "allow_versions" in the container config is left in place.

This patch adds the middleware by default and sets the Versioned Objects
support to be on. This is the upstream default and the deployer would
still need to set the "X-History-Location" header on a container to
utilise the feature.

Change-Id: I88811fd77fad8d2241448ca5ffb565fa7d704a00
2016-11-30 11:18:45 +00:00

9 lines
318 B
YAML

---
features:
- Swift ``versioned_writes`` middleware is added to the
pipeline by default. Additionally the
``allow_versioned_writes`` settings in the middleware
configuration is set to ``True``. This follows the
Swift defaults, and enables the use of the
``X-History-Location`` metadata Header.