inform worker about failed job_done if persistent db is down
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gearman |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
Setup:
I am running gearmand with mysql as a persistent queue.
Scene:
When the job is picked by a worker and just before worker doing a job done, the mysql goes down.
Now, if worker fire a job done, gearmand will fail to remove it from mysql and as a result of this it will stay in its internal memory queue. Now the problem here is that, worker is not informed about such failure on job done. No ERROR packet is transmitted back to the worker.
Refer line: https:/
at this line we should add the below code -
return _server_
Let me know if i am missing something.
Regards,
Suraj Sharma