You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems like a bug? Was the meaning of self.flush() misunderstood? I think we just want to flush the state from the connection and not expire all keys from the Memcache node.
The text was updated successfully, but these errors were encountered:
I think we face a similar issue on Openstack since we updated our code to pass the flush_on_reconnect param. [1][2][3] It will trigger a flush_all [4][5].
If you have several clients doing flush_on_reconnect, connections to memcached is going rapidly UP.
Because of this , memcached is extremly overkilled and process of flush is repeated again again, and connections are going UP and UP.
Please, can you tell us if this behavior is something expected or if this is a side effect that wasn't expected.
It looks like setting flush on next connect executes a
flush_all
on the Memcache server on every reconnect. https://github.com/linsomniac/python-memcached/blob/master/memcache.py#L1413This seems like a bug? Was the meaning of
self.flush()
misunderstood? I think we just want to flush the state from the connection and not expire all keys from the Memcache node.The text was updated successfully, but these errors were encountered: