[CDRIVER-716] _mongoc_client_sendv falls back to sending to any server? Created: 20/Jun/15  Updated: 19/Oct/16  Resolved: 11/Sep/15

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.2-rc0

Type: New Feature 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
is related to CDRIVER-679 mongoc_client_kill_cursor triggers Se... Closed

 Description   

This logic seems very suspicious:

https://github.com/mongodb/mongo-c-driver/blob/7a7aa181a67108a656c478d130fe72eb137e714f/src/mongoc/mongoc-client.c#L451-L459

If the first attempt to send to a server with a specific id fails for any reason, try again with no server id?



 Comments   
Comment by Githook User [ 11/Jan/16 ]

Author:

{u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}

Message: CDRIVER-716 Always enforce server selection.

Remove _mongoc_client_sendv and related functions that would try to send a
message to the selected server, but fell back to sending the message to the
primary.
Branch: 1.3.0-dev
https://github.com/mongodb/mongo-c-driver/commit/93e290f48163e1e426bff421239c63e09919ed2a

Comment by Githook User [ 26/Oct/15 ]

Author:

{u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}

Message: CDRIVER-716 Always enforce server selection.

Remove _mongoc_client_sendv and related functions that would try to send a
message to the selected server, but fell back to sending the message to the
primary.
Branch: debian
https://github.com/mongodb/mongo-c-driver/commit/93e290f48163e1e426bff421239c63e09919ed2a

Comment by Githook User [ 11/Sep/15 ]

Author:

{u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}

Message: CDRIVER-716 Always enforce server selection.

Remove _mongoc_client_sendv and related functions that would try to send a
message to the selected server, but fell back to sending the message to the
primary.
Branch: 1.2.0-dev
https://github.com/mongodb/mongo-c-driver/commit/93e290f48163e1e426bff421239c63e09919ed2a

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