vaseems / xmemcached

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

twemproxy 's problem #245

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.using twemproxy
2.when i  set value to the proxy port ,it  can  be  sorted the value.but when 
clone the  value to  another
server,the  problem  comes:

What is the expected output? What do you see instead?
00000000  76 65 72 73 69 6f 6e 0d  0a                        |version..|
[Fri Jan  4 16:06:04 2013] nc_core.c:168 recv on c 42 failed: Invalid argument
[Fri Jan  4 16:06:04 2013] nc_core.c:207 close c 42 '192.168.0.155:56220' on 
event 0001 eof 0 done 0 rb 9 sb 0: Invalid argument
[Fri Jan  4 16:06:04 2013] nc_client.c:147 close c 42 discarding pending req 
3322 len 9 type 0
[Fri Jan  4 16:06:04 2013] nc_memcache.c:712 parsed bad req 3323 res 1 type 0 
state 1
00000000  76 65 72 73 69 6f 6e 0d  0a                        |version..|
[Fri Jan  4 16:06:04 2013] nc_core.c:168 recv on c 43 failed: Invalid argument

What version of the product are you using? On what operating system?
1.3.8

Please provide any additional information below.
maybe  the proxy can't  parse the  version command.

Original issue reported on code.google.com by mavforce...@gmail.com on 4 Jan 2013 at 8:59

GoogleCodeExporter commented 9 years ago
You can disable the heartbeat,the heartbeat is using version protocol:

client. setEnableHeartBeat(false);

Original comment by killme2...@gmail.com on 8 Jan 2013 at 11:51