This project is read-only.
1

Closed

Flush isn't working

description

Whenever I do a Flush or a Flush all, I can't see that the number of items stored get down at all.
Closed May 28, 2010 at 10:33 PM by digitalego
http://code.sixapart.com/svn/memcached/trunk/server/doc/protocol.txt

comments

digitalego wrote May 28, 2010 at 10:33 PM

According to memcached documentation Flush/FlushAll will not actually remove items from the cache. It merely marks all items as expired.

Please see below taken from (http://code.sixapart.com/svn/memcached/trunk/server/doc/protocol.txt).

Its effect is to invalidate all
existing items immediately (by default) or after the expiration
specified. After invalidation none of the items will be returned in
response to a retrieval command (unless it's stored again under the
same key after flush_all has invalidated the items). flush_all
doesn't actually free all the memory taken up by existing items; that
will happen gradually as new items are stored. The most precise
definition of what flush_all does is the following: it causes all
items whose update time is earlier than the time at which flush_all
was set to be executed to be ignored for retrieval purposes.

wrote May 28, 2010 at 10:33 PM

wrote Feb 13, 2013 at 3:11 AM

wrote May 15, 2013 at 3:34 AM