[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: |
|
||||||||
| 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: |