yibaini / memcached

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

Cannot TAP more than 10 times (ever) #397

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Start memcached server
2. Initiate 10 TAPs and terminate them (e.g. use DUMP and let the server 
disconnect the TCP connection)
3. Initiate another TAP.

What is the expected output? What do you see instead?
* Expected to process the TAP, instead I get UNSUPPORTED.

What version of the product are you using? On what operating system?
* Memcached 1.6 (trunk) on Ubuntu 12.04.

Please provide any additional information below.

Original issue reported on code.google.com by andy.m.c...@gmail.com on 20 Feb 2015 at 5:20

GoogleCodeExporter commented 8 years ago
https://github.com/memcached/memcached/pull/102 fixes this by clearing out the 
TAP's slot when the connection is dropped.  Once the engine supports TAP 
restarts, this might need to be smarter, but for now this doesn't worry about 
this.

Original comment by andy.m.c...@gmail.com on 20 Feb 2015 at 5:22