Comment #13 on issue 183 by [email protected]: Reclaiming the space of flushed items is needed.
http://code.google.com/p/memcached/issues/detail?id=183

Now, I have looked at 1.4.11 code.

The code still does not have "oldest_live <= current_time" condition.

item *do_item_alloc(char *key, const size_t nkey, const int flags, const rel_time_t exptime, const int nbytes) {
    ...
        if ((search->exptime != 0 && search->exptime < current_time)
            || (search->time < oldest_live)) {  // dead by flush
    ...
}



Reply via email to