get unknown job when a client connect to more than one server
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| Gearman Java |
Fix Released
|
High
|
Eric Lambert | ||
Bug Description
When a client has more than one job servers, it will recieve some unknown job warns when incessancy sending not background jobs.
Root Cause:
In GearmanClientImpl, the key of 'Map<JobHandle, GearmanJobImpl> jobsMaps' is a job handle which is generated by a job server, but different job server may return same job handle, so more than one mappings will have only one mapping in the map
Solution: append some coonection's information to current JobHandle:
public JobHandle(byte[] handle, GearmanJobServe
}
Related branches
Hi Cartman ... thanks for the bug report, I'll take a look