Skip to content

Fix memcached cache delete_all()#2144

Open
iturgeon wants to merge 1 commit intofuel:1.9/developfrom
iturgeon:issue/2143-memcached-delete-all
Open

Fix memcached cache delete_all()#2144
iturgeon wants to merge 1 commit intofuel:1.9/developfrom
iturgeon:issue/2143-memcached-delete-all

Conversation

@iturgeon
Copy link
Contributor

@iturgeon iturgeon commented Jul 9, 2020

The problem in the memcached cache driver prevents
\Cache::delete_all() from removingall the keys in the cache index.

The change allows that branch of the code to execute and includes
tests for the different states of cache_id and deleting with and
without a section in the arguments.

Signed-off-by: iturgeon iturgeon@gmail.com

fixes #2143

The problem in the memcached cache driver prevents
\Cache::delete_all() from removingall the keys in the cache index.

The change allows that branch of the code to execute and includes
tests for the different states of cache_id and deleting with and
without a section in the arguments.

Signed-off-by: iturgeon <iturgeon@gmail.com>
@WanWizard
Copy link
Member

Doesn't this delete everything in the cache, regardless of the cache ID?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

\Cache::delete_all() using memcached driver not clearing all items

2 participants