some protocol weirdness

Antony Dovgal
Thu, 8 Apr 2004 17:37:43 +0400

Hi all!

Can somebody explain me why memcached server's response is so weird in this particular case:
flush_all // <-- flushing the cache
OK	  // <-- server says 'OK'
get obj_key // <-- I'm trying to get an item
END         // <-- server says 'END'

I expected that this item already not exist, thus the server's response should be 'NOT_FOUND'.
This is expected behaviour or some kind of bug ?

Antony Dovgal aka tony2001 ||