allen8807 / memcached

Automatically exported from code.google.com/p/memcached
0 stars 0 forks source link

meaningless age values in "stats items" #236

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
According to doc/protocol.txt age in "stats items" is "Age of the oldest item 
in the LRU". But current numbers is not age.

Path to fix this bug is attached.

I use 1.4.5 but as I can see this is not yet fixed.

Original issue reported on code.google.com by anton.yu...@gmail.com on 15 Nov 2011 at 3:58

Attachments:

GoogleCodeExporter commented 9 years ago
bug was introduced in this commit:
https://github.com/memcached/memcached/commit/b89f7c7b3baffa43fe5e13c9ba68bdf5b2
dd5f39

Original comment by anton.yu...@gmail.com on 15 Nov 2011 at 4:01

GoogleCodeExporter commented 9 years ago
You are definitely right. I just committed the change and it'll go into 1.4.11. 
Thanks!

Original comment by dorma...@rydia.net on 12 Jan 2012 at 1:41