[release-announce] oslo.cache 1.30.4 (rocky)
no-reply at openstack.org
no-reply at openstack.org
Thu May 16 06:57:41 UTC 2019
We enthusiastically announce the release of:
oslo.cache 1.30.4: Cache storage for OpenStack projects.
This release is part of the rocky stable 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.30.4
^^^^^^
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.30.3..1.30.4
------------------------------------
8ef2778 Update UPPER_CONSTRAINTS_FILE for stable/rocky
1d6d08f Pass `flush_on_reconnect` to memcache pooled backend
09c0a69 OpenDev Migration Patch
caf5443 Fix memcache pool client in monkey-patched environments
Diffstat (except docs and test files)
-------------------------------------
.gitreview | 2 +-
oslo_cache/_memcache_pool.py | 36 ++++++++++++++++++++--
.../notes/bug-1819957-ccff6b0ec9d1cbf2.yaml | 24 +++++++++++++++
tox.ini | 2 +-
5 files changed, 77 insertions(+), 4 deletions(-)
More information about the Release-announce
mailing list