-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
DB Integration & Observability
-
Fully Compatible
-
QE 2026-10-26, QE 2026-11-23
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Goal
Add a C++ microbenchmark that measures the cost allowEndOfTransaction adds to the commit path on a replica set: building and writing the final applyOps entry with the allowEndOfTransaction marker.
Proposal
- Benchmark the unprepared transaction commit path (OpObserverImpl::onUnpreparedTransactionCommit through to the oplog write) with allowEndOfTransaction off and on.
- Vary:
-
- Collections per transaction: 2, 10, 50
- Operations per transaction: 1, 100
- Report time per commit and applyOps entry size.