[CDRIVER-1567] "connection timeout" / "connection error" messages swapped Created: 29/Sep/16 Updated: 20/Oct/16 Resolved: 29/Sep/16 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | libmongoc, network |
| Affects Version/s: | None |
| Fix Version/s: | 1.3.6, 1.5.0 |
| Type: | Bug | Priority: | Major - P3 |
| 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 | ||
| Issue Links: |
|
||||||||||||
| Description |
|
When a topology scan encounters a network error, it can usefully distinguish between a timeout and a hangup by recording the message "connection error" or "connection timeout". These messages are swapped mongoc_topology_scanner_ismaster_handler, so e.g. if the target machine is refusing connections, the message is wrongly "connection timeout". |
| Comments |
| Comment by Githook User [ 12/Oct/16 ] |
|
Author: {u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}Message: |
| Comment by Githook User [ 30/Sep/16 ] |
|
Author: {u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}Message: |
| Comment by Githook User [ 29/Sep/16 ] |
|
Author: {u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}Message: |