Client can automatically shutdown with error on session
Bug #1143797 reported by
Eric Lambert
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gearman Java |
New
|
Undecided
|
Eric Lambert |
Bug Description
If a client is an a state where there is only GearmanJobServer session registered with it and if IO on that session results in an error, the session is shutdown and because that is the client's last session the client is shutdown. Shutting down the client is overly aggressive here since we may still want to use the client by establishing a new connection to a server.
To post a comment you must log in.
see GearmanClientIm pl.handleSessio nEvent (specifically the ERROR case) for the details