Strict per-chunk field validation in checkMetadataConsistency

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      validateCollectionMetadata in metadata_consistency_util.cpp currently only validates chunk domain coverage (via validateChunksDomainCoverage), which checks that the union of chunk ranges is consistent between the shard catalog and the global catalog. It does not compare individual chunks 1:1 or validate per-chunk fields.

      Once split and merge operations are authoritative through the shard catalog, the chunk sets on both sides should be identical.

            Assignee:
            Unassigned
            Reporter:
            Pol Pinol
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: