[SERVER-72085] Allow hooking behavior into when replica set config is loaded Created: 13/Dec/22  Updated: 29/Oct/23  Resolved: 31/Jan/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.3.0-rc0

Type: Task Priority: Major - P3
Reporter: Jack Mulrow Assignee: Jack Mulrow
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-72088 Make catalog shard use ShardRemote fo... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding NYC 2022-12-26, Sharding NYC 2023-01-09, Sharding NYC 2023-01-23, Sharding NYC 2023-02-06
Participants:

 Description   

The config server will start using a ShardRemote for itself in the ShardRegistry, and it only knows its replica set's connection string once its replica set config has been loaded, which happens shortly after startup, once commands can be accepted so the isSelf command may run. We should add a way to hook into when the config is loaded so the config server knows when it has a valid connection string.



 Comments   
Comment by Githook User [ 14/Dec/22 ]

Author:

{'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}

Message: SERVER-72085 Add ReplicaSetAwareService method to observe setting replica set config
Branch: master
https://github.com/mongodb/mongo/commit/b379a035a5a62f006350b13912999fab36330d9d

Generated at Thu Feb 08 06:20:46 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.