« Previous | Next » 

Revision ce12d377

IDce12d37789a439662956edecaf08b954f7044bdc
Parent 12f4a4c2
Child 12794b8f

Added by Christopher Hlubek about 7 years ago

[BUGFIX] Prevent race conditions in Redis backend

There is a theoretical possibility that inconsistent data will be stored
in the cache backend for remove() or freeze() since the code is not
fully transactional. Adding a WATCH command makes the transaction
conditionally by using optimistic locking.

Change-Id: Ic06e511a80ecc6ead352a6a293d7d50ea2d6a57d
Releases: master

  • added
  • modified
  • copied
  • renamed
  • deleted