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.
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.