Use authoritative database metadata in ShardsvrCheckMetadataConsistency

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Catalog
    • None
    • Catalog and Routing
    • CAR Team 2025-05-12
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      During the execution of CheckMetadataConsistency command (cluster level)  each shard perform a read on config.databases on the config server with ReadPreference::nearest to understand which are the databases they are primary for (db primary shard).

      Once we complete SPM-3729 we should be able to substitute this remote read with a local read. In fact, each shard will be able to understand which are the databases they are primary for, by reading from config.shardLocal.catalog.databases.

            Assignee:
            Pol Pinol
            Reporter:
            Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: