-
Type: Task
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Replication
-
Replication
On a secondary, writing into oplog and calling _fillWriteVectors runs concurrently, but _fillWriteVectors is the bottleneck for large transactions. It's better to put operations within the same batch with the corresponding commit, so that writing the operations can overlap with the expensive _fillWriteVectors as much as possible.