[CDRIVER-879] Failure to reconnect in single-threaded mode Created: 24/Sep/15 Updated: 19/Oct/16 Resolved: 24/Sep/15 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | libmongoc |
| Affects Version/s: | 1.2-rc0 |
| Fix Version/s: | 1.2-rc0 |
| Type: | Bug | Priority: | Blocker - P1 |
| Reporter: | A. Jesse Jiryu Davis | Assignee: | A. Jesse Jiryu Davis |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Introduced here: https://github.com/mongodb/mongo-c-driver/commit/11760f877 After a network read error, the driver correctly discards its socket. But in single-threaded mode it also destroys the topology scanner node. Without a scanner node, the driver cannot reconnect to the server on the next operation. |
| Comments |
| Comment by Githook User [ 24/Sep/15 ] |
|
Author: {u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}Message: |
| Comment by Githook User [ 24/Sep/15 ] |
|
Author: {u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}Message: |