duancwd / java-gearman-service

Automatically exported from code.google.com/p/java-gearman-service
0 stars 0 forks source link

fake workers on gearman server #50

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I'm using gearman with java client based on Java Gearman Service (just using 
the client part) for about two years now. Everything seemed fine until this 
strange thing started happening. 
Its that every now and then I figure out that there are more than one (two 
specifically) workers registered with the job on gearman server. But there is 
just one instance of the worker up. and it seems that gearman is submitting 
jobs to the fake one too, so the real worker misses some of the jobs. 
I just can't find out why it is happening. Monitoring the services shows no 
abnormal behaviour. Nothing is restarted. Everything is up and running doing 
their normal jobs.

Original issue reported on code.google.com by zirix...@gmail.com on 15 Mar 2014 at 10:51

GoogleCodeExporter commented 8 years ago
well, I think the problem occurred because of my own fault. some code I written 
some time ago was removing the worker.

Original comment by zirix...@gmail.com on 30 Apr 2014 at 6:47