[SERVER-41151] Add "count" field to implicit prepare applyOps oplog entry Created: 14/May/19  Updated: 29/Oct/23  Resolved: 15/May/19

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

Type: Task Priority: Major - P3
Reporter: Siyuan Zhou Assignee: William Schultz (Inactive)
Resolution: Fixed Votes: 0
Labels: bigtxns_packing
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-40678 Write implicit prepare of multiple ap... Closed
Backwards Compatibility: Fully Compatible
Participants:

 Description   

Similar to SERVER-41026 where we added a "count" field for implicit commit oplog entry. A "count" on prepare may help us improve the batching logic in the future and is good for diagnosis and format consistency.



 Comments   
Comment by William Schultz (Inactive) [ 15/May/19 ]

This was added as a part of SERVER-40678, in this commit.

Comment by Siyuan Zhou [ 15/May/19 ]

william.schultz since SERVER-40678 is more urgent than this, I feel it's better to keep this a separate ticket. I agree though, you're probably the best person to work on this.

Comment by William Schultz (Inactive) [ 15/May/19 ]

This may be handled in the changes for SERVER-40678

Comment by Siyuan Zhou [ 14/May/19 ]

Even though this is a format change, applyOps IDL isn't strict and we don't rely on its presence in 4.2.0. The format will be backward compatible between RC and GA.

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