-
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.
- is depended on by
-
SERVER-138124 Membership-based recordId emission and honoring in the oplog path
-
- Open
-
-
SERVER-138127 Re-enable rid-sensitive dbHash checks in test fixtures with groupId-membership-aware opt-in
-
- Open
-
- is related to
-
SERVER-139449 Re-enable and rework replicate_record_ids_dbhash.js to groupId membership semantics
-
- Open
-