GearmanClientImpl's jobsMaps should be updated when a session is dropped

Bug #501194 reported by Cartman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gearman Java
Fix Released
Medium
Eric Lambert

Bug Description

When a session is dropped, the actual number of active jobs in the GearmanClientImpl which comes from jobsMap.size() should be reduced, so jobsMap should be updated once a session is dropped or meets some exceptions.

btw: if more than one server is added to the GearmanClientImpl, should the jobs attach with the dropped session resubmitted to another alvie one?

Related branches

Eric Lambert (elambert)
Changed in gearman-java:
importance: Undecided → Medium
assignee: nobody → Eric Lambert (elambert)
milestone: none → 0.04
status: New → Confirmed
Eric Lambert (elambert)
Changed in gearman-java:
status: Confirmed → In Progress
Eric Lambert (elambert)
Changed in gearman-java:
status: In Progress → Fix Committed
Eric Lambert (elambert)
Changed in gearman-java:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.