Check that all chunks have a proper 'history' array

XMLWordPrintableJSON

    • Catalog and Routing
    • Fully Compatible
    • v8.0, v7.0
    • CAR Team 2025-07-21
    • 1
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-62065 was a bug that caused chunks to have an empty 'history' array. SERVER-62065 also states that some old backup/restore procedures could have omitted restoring the 'history' array as well. Missing the 'history' causes transactions/snapshotReads to fail. As a result of this, the repairShardedCollectionChunksHistory was introduced.

      It would be good to add a check to checkMetadataConsistency to ensure that clusters don't have a missing 'history' anymore.

              Assignee:
              Pierlauro Sciarelli
              Reporter:
              Jordi Serra Torrens
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: