vaseems / xmemcached

Automatically exported from code.google.com/p/xmemcached
Apache License 2.0
0 stars 0 forks source link

Error getting memcached Detail Statistics #126

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Get the detail statistics executing "stats detail dump"
2.The result will be like "PREFIX hykkey get 0 hit 0 set 1 del 0".
3.

What is the expected output? What do you see instead?
When the TextStatsCommand executes the decode method, it receives lines that 
start with the word "PREFIX", so TextStatsCommand is interpreting those stats 
as errors.

What version of the product are you using? On what operating system?
The memcached version is 1.4.5. The operating systen is Windows.

Please provide any additional information below.

The error is:
GRAVE: XMemcached network layout exception
net.rubyeye.xmemcached.exception.MemcachedDecodeException: Decode error,session 
will be closed,line=PREFIX XMemcachedClientForTest
 get 3 hit 2 set 4 del 2
        at net.rubyeye.xmemcached.command.Command.decodeError(Command.java:257)
        at net.rubyeye.xmemcached.command.text.TextStatsCommand.decode(TextStatsCommand.java:87)
        at net.rubyeye.xmemcached.codec.MemcachedDecoder.decode0(MemcachedDecoder.java:59)
        at net.rubyeye.xmemcached.codec.MemcachedDecoder.decode(MemcachedDecoder.java:54)
        at com.google.code.yanf4j.nio.impl.NioTCPSession.decode(NioTCPSession.java:288)
        at com.google.code.yanf4j.nio.impl.NioTCPSession.readFromBuffer(NioTCPSession.java:205)
        at com.google.code.yanf4j.nio.impl.AbstractNioSession.onRead(AbstractNioSession.java:198)
        at com.google.code.yanf4j.nio.impl.AbstractNioSession.onEvent(AbstractNioSession.java:343)
        at com.google.code.yanf4j.nio.impl.SocketChannelController.dispatchReadEvent(SocketChannelController.java:56)
        at com.google.code.yanf4j.nio.impl.NioController.onRead(NioController.java:157)
        at com.google.code.yanf4j.nio.impl.Reactor.dispatchEvent(Reactor.java:294)
        at com.google.code.yanf4j.nio.impl.Reactor.run(Reactor.java:141)

Original issue reported on code.google.com by matias.m...@gmail.com on 10 May 2011 at 2:50

GoogleCodeExporter commented 9 years ago
Thanks for your report,it is an issue.

Original comment by killme2...@gmail.com on 11 May 2011 at 2:04

GoogleCodeExporter commented 9 years ago
Fixed by 
https://github.com/killme2008/xmemcached/commit/9f668714c6810d41ca4247799094042f
cb136a3a

Original comment by killme2...@gmail.com on 5 Jun 2011 at 10:42

GoogleCodeExporter commented 9 years ago
Fixed by xmemached 1.3.3.
hi,xmemcached 1.3.3 has been released.

Original comment by killme2...@gmail.com on 12 Jun 2011 at 4:11