CheckMetadataConsistency should consider special collections

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.1.0-rc0, 7.0.0-rc1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v7.0
    • Sharding EMEA 2023-05-01
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      If CheckMetadataConsistency command is called on `config` database, it will report all local collections (e.g., config.cache.databases) as misplaced collection. Because it thinks they could only be placed in the config server, since it is the primary shard for the config database.

      The command should take into account that those collections are special and can be present locally in all the shards without being sharded.

            Assignee:
            Tommaso Tocci
            Reporter:
            Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: