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

Investigate internal usages of "isMaster" in sharding

    XMLWordPrintableJSON

Details

    • Sharding EMEA
    • Sharding EMEA 2023-05-15, Sharding EMEA 2023-05-29, Sharding EMEA 2023-06-12, Sharding EMEA 2023-07-10, Sharding EMEA 2023-07-24, Sharding EMEA 2023-08-07, Sharding EMEA 2023-08-21

    Description

      Based on the comments in sharding_catalog_manager_shard_operations.cpp, addShard validates the host as a shard and calls "isMaster". Since we added the new hello command, we should evaluate whether or not we can change internal isMaster calls or if we need to rely on them to communicate with older versions of the server.

      Related files:
      sharding_network_connection_hook*
      sharding_catalog_manager_add_shard_test
      sharding_connection_hook*

      Attachments

        Issue Links

          Activity

            People

              silvia.surroca@mongodb.com Silvia Surroca
              pavithra.vetriselvan@mongodb.com Pavithra Vetriselvan
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: