[CDRIVER-588] Clients don't reconnect after primary step down Created: 23/Mar/15 Updated: 27/Apr/15 Resolved: 24/Mar/15 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.1.4 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Mira Carey | Assignee: | Mira Carey |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
mongoc_cluster_t's have a try_sendv and a sendv method to actually write bytes for commands. For some reason we use try_sendv after the cluster is born, so we don't reconnect if select fails. That doesn't make any sense. We should just use regular cluster_sendv() in all cases. |
| Comments |
| Comment by Githook User [ 24/Mar/15 ] |
|
Author: {u'username': u'hanumantmk', u'name': u'Jason Carey (hanumantmk)', u'email': u'jcarey@argv.me'}Message: Avoid the use of cluster_try_sendv for healthy and unhealthy clusters. |
| Comment by Githook User [ 24/Mar/15 ] |
|
Author: {u'username': u'hanumantmk', u'name': u'Jason Carey (hanumantmk)', u'email': u'jcarey@argv.me'}Message: Avoid the use of cluster_try_sendv for healthy and unhealthy clusters. |
| Comment by Hannes Magnusson [ 23/Mar/15 ] |
|
Seems related to |
| Comment by Mira Carey [ 23/Mar/15 ] |