Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-72085

Allow hooking behavior into when replica set config is loaded

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Sharding NYC 2022-12-26, Sharding NYC 2023-01-09, Sharding NYC 2023-01-23, Sharding NYC 2023-02-06

      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.

            Assignee:
            jack.mulrow@mongodb.com Jack Mulrow
            Reporter:
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: