« Previous | Next » 

Revision 8cee5553

ID8cee5553f114fdcbd5c35ee7ec7d4e908062d4e3
Parent 12f4a4c2
Child 4181ee22

Added by Christopher Hlubek over 7 years ago

[TASK] Improve flush method of Redis cache backend

This change improves the flush method by not using the KEYS command
with a pattern and iterating over the keys in PHP. It uses EVAL
to execute an atomic script on the server that will gather all keys in
the cache and deletes them.

Because it was not atomic, the flushByTag method is also changed to use
EVAL with this change.

Change-Id: I660622698ceaf5d93c414d893f8d16177230e4a1
Resolves: FLOW-54
Releases: master

  • added
  • modified
  • copied
  • renamed
  • deleted