keystonemiddleware doesn't work with memcachepool
Bug #1782404 reported by
Morgan Fainberg
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
keystonemiddleware |
Fix Released
|
High
|
Morgan Fainberg |
Bug Description
This bug was reported by iain MacDonnell (Oracle)
Keystonemiddleware was converted over to use the Queue object. In doing so, the memcachepool no longer placed connections back into the pool when they were done.
This is largely because all of the logic to do so was moved from .get to .acquire and KSM was blindly yielding connection objects without replacing them when they were done.
The fix is to utilize acquire in the reserve() context manager.
To post a comment you must log in.
This will need to be backported to the Pike and Queens versions of KSM.