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

Optimize databases retrieval in CheckMetdataConsistency command

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • None
    • None
    • None
    • Sharding EMEA
    • Fully Compatible

    Description

      Instead of retrieving all existing databases from config server and then filter out the one for which the shard is not the primary we should directly retrieve only the databases we are interested in.

      https://github.com/10gen/mongo/blob/8db424cac47919863d14a998835e3b3de09044bb/src/mongo/db/s/shardsvr_check_metadata_consistency_command.cpp#L112-L125

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: