Comment 4 for bug 1098816

Revision history for this message
Eric Lambert (elambert) wrote : Re: [Bug 1098816] Re: Worker should be able to execute GRAB_JOB_UNIQ

Sure, I'll try and take care of that tonight

On Feb 25, 2013, at 5:34 PM, Khai Do <email address hidden> wrote:

> Hi Eric, Thanks for fixing, works great. Could you please deploy to the
> hosted repository so my build can pick up the latest? it's
> http://dev.nightlabs.org/maven-repository/repo/ right?
>
> Thanks.
> -Khai
>
>
> On Sun, Feb 24, 2013 at 4:06 PM, Eric Lambert <email address hidden>wrote:
>
>> Hi Khai:
>>
>> I've pushed a fix for this. The behavior of the worker can be toggled
>> with the setJobUniqueIdRequired() method. When set to true, the worker
>> will perform GRAB_JOB_UNIQ requests against the server (which instructs
>> the server to include the unique value, as set by the client, in the job
>> assignment). Functions can access this value with getUniqueId().
>>
>> Please let me if this solves your problem.
>>
>> Eric
>>
>>
>> ** Changed in: gearman-java
>> Status: In Progress => Fix Committed
>>
>> --
>> You received this bug notification because you are subscribed to the bug
>> report.
>> https://bugs.launchpad.net/bugs/1098816
>>
>> Title:
>> Worker should be able to execute GRAB_JOB_UNIQ
>>
>> Status in Gearman Java:
>> Fix Committed
>>
>> Bug description:
>> Currently the worker can not make GRAB_JOB_UNIQ requests to the server
>> and instead only makes GRAB_JOB request. As such if a job has been
>> assigned a UUID the worker will never receive the UUID as the UUID is
>> not include in the JOB_ASSIGN packet that results from GRAB_JOB
>> requests.
>>
>> see https://answers.launchpad.net/gearman-java/+question/218865 for
>> further details
>>
>> To manage notifications about this bug go to:
>> https://bugs.launchpad.net/gearman-java/+bug/1098816/+subscriptions
>>
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1098816
>
> Title:
> Worker should be able to execute GRAB_JOB_UNIQ
>
> Status in Gearman Java:
> Fix Committed
>
> Bug description:
> Currently the worker can not make GRAB_JOB_UNIQ requests to the server
> and instead only makes GRAB_JOB request. As such if a job has been
> assigned a UUID the worker will never receive the UUID as the UUID is
> not include in the JOB_ASSIGN packet that results from GRAB_JOB
> requests.
>
> see https://answers.launchpad.net/gearman-java/+question/218865 for
> further details
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/gearman-java/+bug/1098816/+subscriptions