[release-announce] oslo.cache 2.7.0 (wallaby)

no-reply at openstack.org no-reply at openstack.org
Mon Feb 8 13:25:38 UTC 2021


We joyfully announce the release of:

oslo.cache 2.7.0: Cache storage for OpenStack projects.

This release is part of the wallaby 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.

2.7.0
^^^^^


New Features
************

* Added a new memcached driver that uses pymemcache through
  dogpile.cache.

* Configuration option "memcache_pool_flush_on_reconnect" added to
  control if flush will be sent to memcached server after reconnect.


Bug Fixes
*********

* [bug 1888394 (https://bugs.launchpad.net/oslo.cache/+bug/1888394)]
  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. To
  avoid this, param flush_on_reconnect was used in code.

  But unfortunatelly this option is causing another issue. If memcache
  server disappears, or client had broken connection to memcache
  server, clients start to flush server on reconnect.

  This means that network connections will go UP and can cause server
  to be overloaded until memcache will be unresponsive.

  Simply said this option can cause loop of flushs and overloaded
  memcached servers. This change is moving optional parameter
  *flush_on_reconnect* to oslo.cache config.

Changes in oslo.cache 2.6.1..2.7.0
----------------------------------

b00b3b2 Add dogpile.cache.pymemcache backend
a437b21 Do not hardcode flush_on_reconnect, move to oslo.cache config
bc9c70f Dropping lower constraints testing
bd1a841 Imported Translations from Zanata
9a52598 Add Python3 wallaby unit tests
7c01c2d Update master for stable/victoria


Diffstat (except docs and test files)
-------------------------------------

.zuul.yaml                                         | 11 ++++++--
lower-constraints.txt                              |  3 ++-
oslo_cache/_memcache_pool.py                       | 22 +---------------
oslo_cache/_opts.py                                | 25 ++++++++++++++++++
oslo_cache/backends/memcache_pool.py               |  2 ++
oslo_cache/core.py                                 | 23 ++++++++++++++++-
.../dogpile_cache_pymemcache/__init__.py           |  0
.../dogpile_cache_pymemcache/test_cache_backend.py | 29 +++++++++++++++++++++
....cache.pymemcache-backend-627d31a76013f8e1.yaml |  4 +++
.../notes/bug-1888394-5a53e7a9cb25375b.yaml        | 22 ++++++++++++++++
releasenotes/source/index.rst                      |  1 +
.../locale/en_GB/LC_MESSAGES/releasenotes.po       |  9 ++++---
releasenotes/source/victoria.rst                   |  6 +++++
requirements.txt                                   |  2 +-
test-requirements.txt                              |  1 +
16 files changed, 161 insertions(+), 29 deletions(-)


Requirements updates
--------------------

diff --git a/requirements.txt b/requirements.txt
index c38ff92..52eb1f2 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -5 +5 @@
-dogpile.cache>=1.0.2 # BSD
+dogpile.cache>=1.1.2 # BSD
diff --git a/test-requirements.txt b/test-requirements.txt
index 9936741..9188e99 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -10,0 +11 @@ pre-commit>=2.6.0 # MIT
+pymemcache>=3.4.0 # Apache-2.0






More information about the Release-announce mailing list