[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: CDRIVER-879 preserve scanner node on disconnect
Branch: 1.2.0-dev
https://github.com/mongodb/mongo-c-driver/commit/bc0a74198279901603a0556183bf3bbbf6c0bdd7

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: CDRIVER-879 test cluster node reconnect
Branch: 1.2.0-dev
https://github.com/mongodb/mongo-c-driver/commit/7f83475fdaa9a59828f0bc585a83be476a76456f

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