keystonemiddleware/releasenotes/notes/bug-1782404-c4e37bbc83756a89.yaml
Morgan Fainberg c46f29278d Fix KeystoneMiddleware memcachepool abstraction
Keystonemiddleware's abstraction for the memcache pool was broken
when converting to use a queue.Queue. The logic that placed the
connection back into the pool was moved to .acquire and the reserve
method was not using acquire.

Change-Id: I0eda5981cbb661f63790258cf8e70c7340615159
Closes-Bug: #1782404
2018-07-18 11:56:43 -07:00

9 lines
405 B
YAML

---
fixes:
- >
[`bug 1782404 <https://bugs.launchpad.net/keystonemiddleware/+bug/1782404>`_]
Keystonemiddleware incorrectly implemented an abstraction for the memcache
client pool that utilized a `queue.Queue` `get` method instead of the
supplied `acquire()` context manager. The `acquire()` context manager
properly places the client connection back into the pool after `__exit__`.