[horde] Horde Cache

Jan Schneider jan at horde.org
Fri Jun 1 08:14:34 UTC 2012


Zitat von Claude Tompers <claude.tompers at restena.lu>:

> Hi,
>
> Since we put the new Horde Framework to production, we get more and more
> users complaining about fatal errors like this one :
>
> QUERY FAILED: Duplicate entry 'fdca4edc9d6d3cf250506f34beac38b2' for key
> 'PRIMARY' INSERT INTO horde_cache (cache_id, cache_timestamp,
> cache_expiration, cache_data) VALUES
> ('fdca4edc9d6d3cf250506f34beac38b2', 1338388724, 1338475124, '0')
> Details have been logged for the administrator.
>
>
> I've tried to reproduce error but I can't really find out how to.

Looks like deletion of that key fails before writing to it, even  
though it exists. This happens in Horde/Cache/Storage/Sql.php, line 150.
You can log the exception in the catch-clause to see where it's coming  
from, or why deletion failed.

-- 
Jan Schneider
The Horde Project
http://www.horde.org/




More information about the horde mailing list