Comment 0 for bug 1782404

Revision history for this message
Morgan Fainberg (mdrnstm) wrote :

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.