[CDRIVER-2300] Record isMaster.primary even if address != isMaster.me Created: 26/Sep/17  Updated: 28/Oct/23  Resolved: 26/Sep/17

Status: Closed
Project: C Driver
Component/s: libmongoc
Affects Version/s: None
Fix Version/s: 1.9.0

Type: Improvement Priority: Minor - P4
Reporter: A. Jesse Jiryu Davis Assignee: A. Jesse Jiryu Davis
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Obey this spec update:

https://github.com/mongodb/specifications/commit/de35bcf0a709e86dd7f8847f0dc865f7dd88b50d



 Comments   
Comment by Githook User [ 26/Sep/17 ]

Author:

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

Message: CDRIVER-2300 use ismaster.primary with mismatched "me"

Obey a Server Discovery and Monitoring Spec update: even if the server
address does not equal its "ismaster.me", the isMaster response's
"primary" field should be used to update the topology description.
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/5aac7b3267cc62ec29bfdaf35fc5b467291499e8

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