File: bug-1888394-5a53e7a9cb25375b.yaml

package info (click to toggle)
python-oslo.cache 3.12.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 784 kB
  • sloc: python: 3,059; makefile: 24; sh: 2
file content (21 lines) | stat: -rw-r--r-- 1,022 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
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 unfortunately 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 loops of flushes and overloaded memcached servers.
    This change is moving optional parameter ``flush_on_reconnect`` to oslo.cache config.
features:
  - Configuration option ``memcache_pool_flush_on_reconnect`` added to control
    if flush will be sent to memcached server after reconnect.