libgearman server option handling
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gearman |
Fix Released
|
Low
|
Brian Aker |
Bug Description
Server options need to be preserved across connect/disconnect cycles (as seen in https:/
The current API design does not allow for this; the caller need to be aware and "re-set" the option by calling gearman_
The proposed patch works by storing the option and delaying the actual network-io until an "real" data-packet needs to go across to the server.
Along with the benefit of graceful reconnection handling, it will also fix an inconsistency: consider a client with multiple servers added in. In the old design, if one of the servers was down but the other was up, the API call gearman_
This is unlike how say the gearman_
In case a bad option is set, a new error code GEARMAN_
Changed in gearmand: | |
milestone: | none → 1.0.3 |
assignee: | nobody → Brian Aker (brianaker) |
importance: | Undecided → Low |
status: | New → In Progress |
Changed in gearmand: | |
status: | In Progress → Fix Released |
I'm stupid. Missed the 2 new files server_options.*
Attached now :)