Use sendCommandToShards helper in checkMetadataConsistency command

XMLWordPrintableJSON

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

      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
              Reporter:
              Tommaso Tocci
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: