[release-announce] oslo.cache 1.34.0 (train)
no-reply at openstack.org
no-reply at openstack.org
Fri Apr 26 17:05:32 UTC 2019
We are amped to announce the release of:
oslo.cache 1.34.0: Cache storage for OpenStack projects.
This release is part of the train release series.
The source is available from:
https://opendev.org/openstack/oslo.cache
Download the package from:
https://pypi.org/project/oslo.cache
Please report issues through:
https://bugs.launchpad.net/oslo.cache/+bugs
For more details, please see below.
1.34.0
^^^^^^
Bug Fixes
* [bug 1819957 (https://bugs.launchpad.net/keystone/+bug/1819957)]
If a memcache server disappears and then reconnects when multiple
memcache servers are used (specific to the python-memcached based
backends) it is possible that the server will contain stale data.
The default is now to supply the "flush_on_reconnect" optional
argument to the backend. This means that when the service connects
to a memcache server, it will flush all cached data in the server.
This change only impacts the pooled backend as it is the most likely
(with heavy use of greenlet) to be impacted by the problem and is
the recommended production configuration.
See the help from python-memcached:
@param flush_on_reconnect: optional flag which prevents a
scenario that can cause stale data to be read: If there's more
than one memcached server and the connection to one is
interrupted, keys that mapped to that server will get reassigned
to another. If the first server comes back, those keys will map
to it again. If it still has its data, get()s can read stale data
that was overwritten on another server. This flag is off by
default for backwards compatibility.
Changes in oslo.cache 1.33.2..1.34.0
------------------------------------
8d78f10 OpenDev Migration Patch
1192f18 Pass `flush_on_reconnect` to memcache pooled backend
8b6af73 Update master for stable/stein
2bfb9f4 Update hacking version
66e97bd add python 3.7 unit test job
2451e61 Remove stale comment in _memcache_pool
Diffstat (except docs and test files)
-------------------------------------
.gitreview | 2 +-
.zuul.yaml | 1 +
oslo_cache/_memcache_pool.py | 25 ++++++++++++++++++----
oslo_cache/backends/etcd3gw.py | 6 +++---
oslo_cache/core.py | 4 ++--
.../notes/bug-1819957-ccff6b0ec9d1cbf2.yaml | 24 +++++++++++++++++++++
releasenotes/source/index.rst | 1 +
releasenotes/source/stein.rst | 6 ++++++
test-requirements.txt | 2 +-
9 files changed, 60 insertions(+), 11 deletions(-)
Requirements updates
--------------------
diff --git a/test-requirements.txt b/test-requirements.txt
index 0fc8517..a9e9f99 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -4 +4 @@
-hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
+hacking>=1.1.0,<1.2.0 # Apache-2.0
More information about the Release-announce
mailing list