Bug #44471

Apc Cache backend has side effects

Added by Tymoteusz Motylewski over 2 years ago. Updated over 2 years ago.

Status:Resolved Start date:2013-01-11
Priority:Should have Due date:
Assigned To:Karsten Dambekalns % Done:

100%

Category:Cache
Target version:TYPO3 Flow Base Distribution - 2.0
PHP Version: Complexity:
Has patch:No Affected Flow version:(any)

Description

If two caches use the APC cache backend, one cache can write and get entries from the other by just using the same key!
see:
http://forge.typo3.org/issues/38135
and patch
https://review.typo3.org/#/c/12145/8


Related issues

related to Core - Bug #38135: Apc Cache backend has side effects Resolved 2012-06-17

Associated revisions

Revision b09ea995
Added by Karsten Dambekalns over 2 years ago

[BUGFIX] Avoid side effects in APC cache backend

When more than one cache was using the APC cache backend, use of the
same entry identifiers would cause side effects, as the frontends would
access the same entries.

This is fixed by including the cache identifier in the prefix hash.

Change-Id: I50fe007c97eefebbb6eb801c53d62e55729665a4
Fixes: #44471
Related: #38135
Releases: master, 2.0, 1.1

Revision 84d3271e
Added by Karsten Dambekalns over 2 years ago

[BUGFIX] Avoid side effects in APC cache backend

When more than one cache was using the APC cache backend, use of the
same entry identifiers would cause side effects, as the frontends would
access the same entries.

This is fixed by including the cache identifier in the prefix hash.

Change-Id: I50fe007c97eefebbb6eb801c53d62e55729665a4
Fixes: #44471
Related: #38135
Releases: master, 2.0, 1.1

History

#1 Updated by Karsten Dambekalns over 2 years ago

  • Category set to Cache
  • Status changed from New to Accepted
  • Assigned To set to Karsten Dambekalns
  • Target version set to 2.0
  • Affected Flow version changed from Git master to (any)

#2 Updated by Karsten Dambekalns over 2 years ago

  • Status changed from Accepted to Under Review

#3 Updated by Gerrit Code Review over 2 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/17522

#4 Updated by Gerrit Code Review over 2 years ago

Patch set 1 for branch 2.0 has been pushed to the review server.
It is available at https://review.typo3.org/19575

#5 Updated by Gerrit Code Review over 2 years ago

Patch set 1 for branch FLOW3-1.1 has been pushed to the review server.
It is available at https://review.typo3.org/19578

#6 Updated by Karsten Dambekalns over 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF