Comment #6 on issue 140 by zhangjiayin99: "stats items" does not return correct "age" value
http://code.google.com/p/memcached/issues/detail?id=140

maybe it not be fixed yet
I clone the git version from  https://github.com/memcached/memcached.git
and make a test

telnet localhost 11211
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
set b 2 86400 1
b
STORED
get a
VALUE a 1 1
a
END
get b
VALUE b 2 1
b
END
stats items
STAT items:1:number 2
STAT items:1:age 548
STAT items:1:evicted 0
STAT items:1:evicted_nonzero 0
STAT items:1:evicted_time 0
STAT items:1:outofmemory 0
STAT items:1:tailrepairs 0
STAT items:1:reclaimed 0
END
stats items
STAT items:1:number 2
STAT items:1:age 548
STAT items:1:evicted 0
STAT items:1:evicted_nonzero 0
STAT items:1:evicted_time 0
STAT items:1:outofmemory 0
STAT items:1:tailrepairs 0
STAT items:1:reclaimed 0
END
stats items
STAT items:1:number 2
STAT items:1:age 548
STAT items:1:evicted 0
STAT items:1:evicted_nonzero 0
STAT items:1:evicted_time 0
STAT items:1:outofmemory 0
STAT items:1:tailrepairs 0
STAT items:1:reclaimed 0
END
stats items
STAT items:1:number 2
STAT items:1:age 548
STAT items:1:evicted 0
STAT items:1:evicted_nonzero 0
STAT items:1:evicted_time 0
STAT items:1:outofmemory 0
STAT items:1:tailrepairs 0
STAT items:1:reclaimed 0
END






Reply via email to