[SERVER-40505] Batch "inTxn" operations with their corresponding commit oplog entry if the commit is in buffer Created: 05/Apr/19  Updated: 06/Dec/22  Resolved: 17/May/19

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Siyuan Zhou Assignee: Backlog - Replication Team
Resolution: Won't Fix Votes: 0
Labels: bigtxns_optional, bigtxns_perf
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Replication
Participants:

 Description   

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.



 Comments   
Comment by Gregory McKeon (Inactive) [ 17/May/19 ]

Since we did packing, this has less value.

Generated at Thu Feb 08 04:55:11 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.