ExportXMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Storage Execution 2026-11-23
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      replsettest.js unconditionally passes includeReplicatedRecordIds: 1 on every dbHash command. All fixture consistency checks funnel through it: checkReplicatedDataHashes, the run_check_repl_dbhash.js hooks (foreground, background, sharded), and initial-sync validation. The server honors the option only for collections with recordIdsReplicated: true, which today means disagg-provider collections and flag-on test collections.

      Problem

      Under the set-wide groupId design, intermediate states legitimately produce equal document data with different rid spaces: out-of-group nodes, nodes mid-conversion, and milestones where rid emission lands before honoring. With the unconditional opt-in, every fixture dbHash check would fail across Evergreen as soon as those states exist in flag-on tests.

      Change

      • In getHashesUsingSessions(), pass includeReplicatedRecordIds: 1 only when the deployment uses disaggregated storage, detected via the disaggregatedStorageEnabled server parameter (existing helper: isDisagg() in oplog_truncation_util.js). Leave a TODO referencing SERVER-138127.
      • Disable replicate_record_ids_dbhash.js in the same commit: it asserts the opt-in behavior on attached storage and fails there without it. Leave a TODO referencing SERVER-139449.

      Notes

      No coverage loss on disagg: the provider keeps setting recordIdsReplicated per-collection there and rid hashing stays on. The groupId work is attached-storage only and leaves disagg behavior unchanged, so the conditional is stable for the life of the temporary state.

            Assignee:
            Ernesto Rodriguez Reina
            Reporter:
            Ernesto Rodriguez Reina
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: