-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Storage Execution
-
Fully Compatible
-
Storage Execution 2026-06-22, Storage Execution 2026-07-06
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Context
Adds a new optional top-level field h (cpp name docHash) to DurableReplOperation in oplog_entry.idl.
This ticket only adds the field to the oplog entry. Nothing should produce or read h yet.
This h field will eventually carry a hash of the document affected by an insert, update, or delete operation.
h must be optional. This is because older binaries, feature-off, FCV downgrade, and unsupported collections will produce oplog entries without it, and a required field would fail to parse those entries.
Acceptance criteria
- h added to DurableReplOperation as optional: true, as a int32 safeInt.
- Round-trip test: a DurableReplOperation without h parses without error.
- Round-trip test: a DurableReplOperation with h serializes and deserializes to the same value without error.
- No producer or consumer wired
- Marked downstream-impacting; tools team notified per the Downstream Impact process.
- is depended on by
-
SERVER-128507 Compute and set the document hash (h) on the primary for insert oplog entries
-
- In Code Review
-
-
SERVER-128508 Compute and set the document hash (h) on the primary for update oplog entries
-
- In Code Review
-
-
SERVER-128509 Compute and set the document hash (h) on the primary for delete oplog entries
-
- In Code Review
-
-
TOOLS-4224 Investigate changes in SERVER-128506: Create a new optional top-level oplog entry field h (document hash)
- High Priority
- related to
-
SERVER-129897 Enable PersistenceProvider for featureFlagContinuousInternodeValidationPerDocument
-
- Backlog
-
-
SERVER-128507 Compute and set the document hash (h) on the primary for insert oplog entries
-
- In Code Review
-
-
SERVER-128508 Compute and set the document hash (h) on the primary for update oplog entries
-
- In Code Review
-
-
SERVER-128509 Compute and set the document hash (h) on the primary for delete oplog entries
-
- In Code Review
-
-
SERVER-129822 Make DurableReplOperation strict: false
-
- Closed
-