twitter-archive / kestrel

simple, distributed message queue system (inactive)
http://twitter.github.io/kestrel
Other
2.77k stars 312 forks source link

Running many-clients after put-many results in an error #80

Closed lalitkapoor closed 12 years ago

lalitkapoor commented 12 years ago

Error:

at net.lag.kestrel.load.ManyClients$.getStuff(ManyClients.scala:130)
at net.lag.kestrel.load.ManyClients$$anonfun$main$1$$anon$1.run(ManyClients.scala:225)
java.lang.Exception: Unexpected response! thr=Thread[Thread-41,5,main] -> VALUE spam 0 1024

Am I suppose to delete the queue file from /var/spool/kestrel and restart kestrel before running each test?

robey commented 12 years ago

yeah, sorry about that. we fixed it in the 2.2 and 3.0 branches sa that many-clients does a flush just like the others, but it would be hard to backport to master because the load tests changed so much (to factor out the memcache protocol vs thrift protocol).

for now, you can flush the queue just by telnet'ing to port 22133 and sending "flush spam".

lalitkapoor commented 12 years ago

@robey thanks! Everything is looking good.