Comment 1 for bug 923463

Hi,

Are you asking about using an older server with a more modern worker?

Cheers,
 -Brian

On Jan 29, 2012, at 11:34 AM, Joern Heissler wrote:

> Public bug reported:
>
> Neither the example "reverse" worker nor my own worker were able to connect to my gearman server.
> I found out that a GEARMAN_COMMAND_GRAB_JOB_ALL is sent and the server then closes the connection. The server is probably a bit outdated.
>
> gearman_worker_remove_options(worker, GEARMAN_WORKER_GRAB_ALL);
> apparantly fixes the problem.
>
> There seems to be no documentation at all for
> GEARMAN_COMMAND_GRAB_JOB_ALL and GEARMAN_WORKER_GRAB_ALL.
>
> I think that the default options should be changed for compatibility. Or
> at least that behaviour should be documented.
>
> ** Affects: gearmand
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are subscribed to
> Gearman.
> https://bugs.launchpad.net/bugs/923463
>
> Title:
> GRAB_ALL undocumented and not supported by server
>
> Status in Gearman Server and Client Libraries:
> New
>
> Bug description:
> Neither the example "reverse" worker nor my own worker were able to connect to my gearman server.
> I found out that a GEARMAN_COMMAND_GRAB_JOB_ALL is sent and the server then closes the connection. The server is probably a bit outdated.
>
> gearman_worker_remove_options(worker, GEARMAN_WORKER_GRAB_ALL);
> apparantly fixes the problem.
>
> There seems to be no documentation at all for
> GEARMAN_COMMAND_GRAB_JOB_ALL and GEARMAN_WORKER_GRAB_ALL.
>
> I think that the default options should be changed for compatibility.
> Or at least that behaviour should be documented.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/gearmand/+bug/923463/+subscriptions