-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Storage Execution
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Today, when the SizeCountCheckpointValidator sees a prepared transaction for a collection, it assigns the collection's hash to boost::none to avoid validating it in the future.
Maintain a separate, in-memory list of uncommitted hashes for prepared transactions and populate it during oplog application of prepared transaction operations. When the commitTransaction oplog entry is applied, move these uncommitted hashes into the replicated metadata in the SizeCountCheckpointValidator and validate them as normal.
This should use the same mechanism as SERVER-138783.
- depends on
-
SERVER-133315 Track transaction hash in replicated metadata checkpoint
-
- Backlog
-
-
SERVER-138783 Validate per-collection size and count for prepared transactions
-
- Backlog
-