Merge "Make versioned_writes docstring more precise"

This commit is contained in:
Jenkins 2016-09-01 19:55:13 +00:00 committed by Gerrit Code Review
commit ef4df41423
2 changed files with 11 additions and 4 deletions

View File

@ -170,7 +170,7 @@ Example Using ``stack`` Mode
versions of it, you must **DELETE** it five times.
Example Using ``history`` Mode
----------------------------
------------------------------
#. Create the ``current`` container:

View File

@ -81,15 +81,22 @@ so this functionality was already available in previous releases and every
attempt was made to maintain backwards compatibility. To allow operators to
perform a seamless upgrade, it is not required to add the middleware to the
proxy pipeline and the flag ``allow_versions`` in the container server
configuration files are still valid. In future releases, ``allow_versions``
will be deprecated in favor of adding this middleware to the pipeline to enable
or disable the feature.
configuration files are still valid, but only for ``stack`` mode. In future
releases, ``allow_versions`` will be deprecated in favor of adding this
middleware to the pipeline to enable or disable the feature.
In case the middleware is added to the proxy pipeline, you must also
set ``allow_versioned_writes`` to ``True`` in the middleware options
to enable the information about this middleware to be returned in a /info
request.
.. note::
You need to add the middleware to the proxy pipeline and set
``allow_versioned_writes = True`` to use the ``history`` mode. Setting
``allow_versions = True`` in the container server is not sufficient to
enable ``history`` mode.
Upgrade considerations:
+++++++++++++++++++++++