Bug #495

memcached cache backend with multiple FLOW3 installations will fail

Added by Karsten Dambekalns about 7 years ago. Updated almost 5 years ago.

Status:Resolved Start date:2008-05-09
Priority:Should have Due date:
Assigned To:Karsten Dambekalns % Done:

100%

Category:Cache
Target version:- Estimated time:0.00 hour
PHP Version: Complexity:
Has patch: Affected Flow version:

Description

(as reported by Axel Hoogestraat)

The memcached backend (the filecache, as well) will not work properly, if there is more than on FLOW3 installation on a server.

In F3_FLOW3.php, for example, there is the following code: $componentConfigurationsCache->save('baseComponentConfigurations', $componentConfigurations);

The key 'baseComponentConfigurations' will be overwritten, if another FLOW3 installation will save the same key. But the configuration, that should be saved, could be different.

So, a possible solution is to add an prefix to the key, i think. The prefix could be the installation path of FLOW3 or something like an ID, that is configured in the FLOW3 configuration.

Associated revisions

Revision f4ade071
Added by Karsten Dambekalns about 7 years ago

Some work on Memcached cache backend:

  • All identifiers are prefixed with an unique key, fixes #495
  • Cleaned up the memcached backend testcase source, mostly cosmetics

History

#1 Updated by Karsten Dambekalns about 7 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Applied in changeset r820.

Also available in: Atom PDF