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

Use sendCommandToShards helper in checkMetadataConsistency command

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Sharding EMEA 2023-01-23

      In shardsvr_check_metadata_consistency_command.cpp is building a std::vector<AsyncRequestsSender::Request> in order to send the internal command checkMetadataConsistencyParticipantRequest to all shards.

      We should use the helper method sendCommandToShards from sharding_util.h, in order to not have repeated code and abstract code.

            Assignee:
            pol.pinol@mongodb.com Pol Pinol
            Reporter:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: