Deletes Are Driving Me Crazy
matt at zgroupplc.com
Tue Jan 24 09:18:46 UTC 2006
-----BEGIN PGP SIGNED MESSAGE-----
Yes, I have noticed that to. Its because flush_all doesn't actually
delete anything. It justs changes the oldest live time to the current
time, thus expiring all of the keys.
I just modified memcached and removed all references to expiry times.
I'm thinking of calling it 'memd' :)
flush_all is a little beyond my knowledge of memory management,
slabs, etc. But I guess it can't be all that hard to zero all of the
memory currently being used by the memcache?
On 23 Jan 2006, at 20:46, Jehiah Czebotar wrote:
> FYI: this same problem happens when you flush_all() then set() an item
> which was already in the cache.
> On 1/11/06, Matthew Glubb <matt at zgroupplc.com> wrote:
>> I would really like to know how to:
>> add(key, val)
>> add(key, val)
>> Just seems to plain not work (all adds have zero expiration).
> Jehiah at gmail.com
m a t t h e w g l u b b
Z Group PLC
Tel: +44 (0) 8700 111 173
Fax: +44 (0) 8707 051 393
Txt: +44 (0) 7800 140 877
PLEASE NOTE ZGROUP IS NOT LIABLE FOR ANY DAMAGES, MALFUNCTION, OR LOSS
OF DATA, CAUSED AS A RESULT OF FOLLOWING ANY ADVICE ENCLOSED IN THIS
EMAIL. ANY CHANGES SHOULD BE CARRIED OUT AT YOUR OWN RISK.
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they are
addressed. The opinions expressed in this mail are those of the author
and do not necessarily represent the views of the company. If you have
received this email in error please notify <service at zgroupplc.com>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
-----END PGP SIGNATURE-----
More information about the memcached