[CDRIVER-562] cluster should send newly-run ismasters through SDAM machinery Created: 09/Mar/15  Updated: 02/Nov/16  Resolved: 02/Nov/16

Status: Closed
Project: C Driver
Component/s: libmongoc
Affects Version/s: 1.2.0
Fix Version/s: 1.5.0

Type: New Feature Priority: Major - P3
Reporter: Samantha Ritter (Inactive) Assignee: A. Jesse Jiryu Davis
Resolution: Done Votes: 0
Labels: SDAM
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by PHPC-824 SDAM spec update : Update the topolog... Closed
is depended on by DRIVERS-327 SDAM spec update : Update the topolog... Closed
Related

 Description   

In mongoc_cluster.c, we run a fresh ismaster when we open new streams. We should send the response to this command through the SDAM state machine to update the topology. We can do that here.



 Comments   
Comment by Githook User [ 02/Nov/16 ]

Author:

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

Message: CDRIVER-562 topology code refactoring
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/382b247e0e4345c6879f5a2a557ed4177031e31c

Comment by Githook User [ 01/Nov/16 ]

Author:

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

Message: CDRIVER-562 Update topology from handshake reply.
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/72e907d6400d2e591643a4df76300ec63c3266cf

Comment by A. Jesse Jiryu Davis [ 01/Nov/16 ]

Last thing to do: _mongoc_topology_update_from_handshake should be refactored with _mongoc_topology_scanner_cb above it.

Comment by Githook User [ 28/Oct/16 ]

Author:

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

Message: CDRIVER-562 clarify data flow in mongoc_cluster_t
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/431b209d1575eebdffb0743bb611434930f6ca0c

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