]> source.dussan.org Git - nextcloud-server.git/commit
Fallback to complete Memcached flush if getAllKeys fails
authorRobin McCorkell <rmccorkell@owncloud.com>
Sat, 5 Sep 2015 19:02:49 +0000 (20:02 +0100)
committerRobin McCorkell <rmccorkell@owncloud.com>
Sun, 6 Sep 2015 19:42:01 +0000 (20:42 +0100)
commit519e980f934a5522674ca6fee68f7e3b5398f4ec
treea5c52912c79880de39d2863c20611cefbde91cac
parent019480a044d14442ee8b1c4fec43a4978ce9c7ff
Fallback to complete Memcached flush if getAllKeys fails

Newer Memcached's do not support the underlying protocol commands that
getAllKeys() is implemented with. We should fallback to clearing
everything in that case, as causing (temporary) performance problems for
other applications on the server is better than having stale cached data.
lib/private/memcache/memcached.php
tests/lib/memcache/memcached.php