Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workers can not have the server requeue a job with another worker #1

Open
ghost opened this issue Feb 4, 2014 · 1 comment
Open

Comments

@ghost
Copy link

ghost commented Feb 4, 2014

According to https://groups.google.com/d/msg/gearman/5qISg9rwStw/pjKUgR5KE5QJ it should be possible for a worker to produce a GEARMAN_ERROR(?) which has the gearman server requeue the job with another worker. I cannot figure out how to do this with this Java library, if at all possible (besides System.exit which is not acceptable for me).

Futhermore clients do not get notified when a job has failed and been restarted on a new worker. I do not know if that is supposed to be possible, but in my case it was noticeable since duplicate data was received within one job's execution.

@thongvo
Copy link

thongvo commented Mar 15, 2016

I had a similar issue too, I have a Java worker, a PHP client, how do I retry a failed job from Java worker?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant