diff options
author | Morgan Fainberg <morgan.fainberg@gmail.com> | 2018-07-18 11:26:18 -0700 |
---|---|---|
committer | Morgan Fainberg <morgan.fainberg@gmail.com> | 2018-07-18 11:56:43 -0700 |
commit | c46f29278d6a916416948d4120489b429f8bf460 (patch) | |
tree | 994abd47fdb430243b2a1cda84f3b805bfd308c4 /releasenotes | |
parent | d1b7a1f0922419f956001f4bf14ad3e77449c860 (diff) | |
download | keystonemiddleware-c46f29278d6a916416948d4120489b429f8bf460.tar.gz |
Fix KeystoneMiddleware memcachepool abstraction5.2.0
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
Diffstat (limited to 'releasenotes')
-rw-r--r-- | releasenotes/notes/bug-1782404-c4e37bbc83756a89.yaml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/releasenotes/notes/bug-1782404-c4e37bbc83756a89.yaml b/releasenotes/notes/bug-1782404-c4e37bbc83756a89.yaml new file mode 100644 index 0000000..852685c --- /dev/null +++ b/releasenotes/notes/bug-1782404-c4e37bbc83756a89.yaml @@ -0,0 +1,8 @@ +--- +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__`. |