Jdesk / memcached

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

Statistics not updated when flush is issued in binary mode #71

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start memcached
2. Issue a flush in binary mode
3. Check statistics

What is the expected output? What do you see instead?
STAT cmd_flush 1
while we have
STAT cmd_flush 0

What version of the product are you using? On what operating system?
1.4.0, Suse 9

Please provide any additional information below.
Looking at the code, I only found the stats incrementation "c->thread-
>stats.flush_cmds++;" in the textual flush code so it seems logical it is 
not updated with the binary command.

Original issue reported on code.google.com by jc.redou...@gmail.com on 5 Aug 2009 at 12:43

GoogleCodeExporter commented 9 years ago
I've got a fix for this in my issue_71 branch.

Original comment by dsalli...@gmail.com on 18 Aug 2009 at 5:46

GoogleCodeExporter commented 9 years ago
Pushed.

Original comment by dsalli...@gmail.com on 19 Aug 2009 at 9:39