[horde] duplicate entry on horde_cache

Chuck Hagenbuch chuck at horde.org
Sat Mar 8 23:55:31 UTC 2008


Quoting Leonardo Rodrigues Magalhães <leolistas at solutti.com.br>:

>     Well ... IMP is working, no crash happens. But im having SEVERAL
> 'duplicate entry' logs on horde_cache table, just like:
>
> Mar  8 19:37:14 f8 horde[24434]: [imp] DB Error: constraint violation:
> INSERT INTO horde_cache (cache_id, cache_timestamp, cache_data) VALUES
> ('ca1edf7ba3d6fc5fd6bb75bc3513f3ad', 1205015834, 0) [nativecode=1062 **
> Duplicate entry 'ca1edf7ba3d6fc5fd6bb75bc3513f3ad' for key 1] [pid 24434
> on line 198 of "/home/httpd/html/horde/lib/Horde/Cache/sql.php"]

Looks to me like if set() is called with the SQL driver and the value  
isn't yet expired, this will happen. Can you please open a bug on  
http://bugs.horde.org ?

Thanks,
-chuck


More information about the horde mailing list