Protocol packet for requeue job

Bug #1228916 reported by vivek on 2013-09-22
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gearman
Wishlist
Unassigned

Bug Description

Hi,
What about a protocol packet in gearman,( WORK_REQUEUE ) . which reflects:

Worker is not able to process jong now, Server should requeue the job.

Brian Aker (brianaker) wrote :

Hi!

This happens today. When a worker drops the connection, which will happen if it returns GEARMAN_ERROR, the server will retry the job. Returning either GEARMAN_FATAL or calling an EXCEPTION will cause the server to no longer process the job.

Are you looking for something more?

Cheers,
    -Brian

Changed in gearmand:
status: New → Incomplete
Brian Aker (brianaker) wrote :

Something like this is needed:

GEARMAN_COMMAND_WORK_RETRY, /* W->J/C: HANDLE [0]PAUSE[0]WARN_TEXT */

Handle -> Job to retry
Pause -> Amount of time before retry
Warning Text -> A message to be sent back to the client to tell it that a retry happened.

Launchpad Janitor (janitor) wrote :

[Expired for Gearman because there has been no activity for 60 days.]

Changed in gearmand:
status: Incomplete → Expired
Brian Aker (brianaker) on 2014-01-08
Changed in gearmand:
importance: Undecided → Wishlist
status: Expired → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers