[Tickets #10072] Re: Memcache storage is duplicating the key prefix

bugs at horde.org bugs at horde.org
Thu May 12 22:14:31 UTC 2011


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/10072
------------------------------------------------------------------------------
  Ticket             | 10072
  Updated By         | Michael Slusarz <slusarz at horde.org>
  Summary            | Memcache storage is duplicating the key prefix
  Queue              | Horde Framework Packages
  Version            | Git master
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              | 1
  Owners             |
------------------------------------------------------------------------------


Michael Slusarz <slusarz at horde.org> (2011-05-12 22:14) wrote:

> Because after setting that $key, the class will call  
> $this->_memcache->xxxmethod
> In this class, $this->_memcache that is a Horde_Memcache object...
> This object always calls the function _key that prefixes the  
> memcache prefix..thus, duplicating it.

But how is a prefix configuration setting in the Horde_Cache->Memcache  
object relevant to what is going in Horde_Memcache?  Basic object  
oriented principle that classes are blind to the implementation  
details of other classes.

If this is happening in practice, the solution would be to ensure that  
the prefix given to the cache object is empty.  But removing prefixing  
in the cache object accomplishes nothing.






More information about the bugs mailing list