[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:
Related
related to PHPC-820 Upgrade libmongoc to 1.3.6 Closed
related to CDRIVER-1683 Backport CDRIVER-1567 to 1.3 Closed

 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: CDRIVER-1567 swap connection err / timeout msgs
Branch: r1.3
https://github.com/mongodb/mongo-c-driver/commit/55ee43f5bb6eb6b1d57ea768400fb880730c0f3b

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: CDRIVER-1567 disable connection err test on windows
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/1cef3904110fc091f4b275f9cbf5d6f873491d50

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: CDRIVER-1567 swap connection err / timeout msgs
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/46684e9d5bebb2c3992df3ce0215c1577b7a01b0

Generated at Wed Feb 07 21:12:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.