[SERVER-45815] Make observer on topologyVersion change Created: 28/Jan/20  Updated: 29/Oct/23  Resolved: 14/Feb/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.3.4

Type: New Feature Priority: Major - P3
Reporter: Benjamin Caimano (Inactive) Assignee: Amirsaman Memaripour
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-45816 Write sampling function for command m... Closed
Backwards Compatibility: Fully Compatible
Sprint: Service Arch 2020-02-10, Service Arch 2020-02-24
Participants:

 Description   

We can block until the next time there is a state change in replication using awaitIsMasterResponse() with an incremented clientTopologyVersion. We should make a background thread utility that waits and then caches the response it receives.



 Comments   
Comment by Githook User [ 13/Feb/20 ]

Author:

{'name': 'Amirsaman Memaripour', 'email': 'amirsaman.memaripour@10gen.com'}

Message: SERVER-45815 Make observer for topologyVersion change
Branch: master
https://github.com/mongodb/mongo/commit/336ef860c53c1c538ba637817c2b9da2bdf30046

Generated at Thu Feb 08 05:09:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.