One Gearmand restart leads to worker to lose connection to all servers
Bug #655812 reported by
Miguel Simões
on 2010-10-06
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Gearman Java |
High
|
Eric Lambert |
Bug Description
When you are working with more then one server associated with the GearmanWorker, if one of the servers terminates the connection, the Worker tries to shutdown it self instead making it loose the connection to all servers instead of only termating the connection on the server that lost the connection.
Miguel Simões (miguel-simoes) wrote : | #1 |
Eric Lambert (elambert) wrote : | #2 |
Hi Miguel:
Your description makes sense to me. Will take a look at this.
Thanks for filling the bug.
Cheers!
Eric
Changed in gearman-java: | |
assignee: | nobody → Eric Lambert (elambert) |
importance: | Undecided → High |
Eric Lambert (elambert) wrote : | #3 |
It looks like this is cause by the sess.getSelecti
Changed in gearman-java: | |
milestone: | none → 0.05 |
status: | New → Confirmed |
Eric Lambert (elambert)
on 2011-01-28
Changed in gearman-java: | |
status: | Confirmed → In Progress |
Matt Fischer (mfisch)
on 2012-04-08
summary: |
- One Gearmand restart leads to worker to loose connection to all servers + One Gearmand restart leads to worker to lose connection to all servers |
Eric Lambert (elambert)
on 2012-09-25
Changed in gearman-java: | |
milestone: | 0.05 → none |
To post a comment you must log in.
Terrible english there ^^
When you add more then one server to the GearmanWorker, when one of the gearmand shutsdown, the GearmanWorker kills himself and looses the connection to all servers registered, instead it should just shutdown the connection to the gearmand that lost the connection.
PS: this is related with the issue of restoring the connection to a gearmand that has, for example, a restart and lost connection for a brief period.