Concurrency Bug in memcached

Tomash Brechko tomash.brechko at
Tue Feb 5 08:24:37 UTC 2008

On Tue, Feb 05, 2008 at 11:00:19 +0300, Tomash Brechko wrote:
> To my understanding the only bug is that set_current_time() is called
> from process_command(), while it should be called only from
> clock_handler().  Better remove this function, and embed its body into
> clock_handler().

Please disregard this part.  set_current_time() is called for
"flush_all", probably to avoid the situation where subtle time
difference might result in not all items being flushed.

   Tomash Brechko

More information about the memcached mailing list