[SERVER-55070] Avoid parsing unnecessary fields from BSON oplog entries Created: 09/Mar/21  Updated: 29/Oct/23  Resolved: 31/Mar/21

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 4.4.7, 5.0.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Xuerui Fa Assignee: Wenbin Zhu
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
related to SERVER-55427 Add infrastructure to prevent unneces... Backlog
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.4, v4.2
Sprint: Repl 2021-03-22, Repl 2021-04-05
Participants:
Case:

 Description   

In general, we should avoid parsing entire oplog entries when we only require a few fields. Here is one example.



 Comments   
Comment by Githook User [ 10/May/21 ]

Author:

{'name': 'Wenbin Zhu', 'email': 'wenbin.zhu@mongodb.com', 'username': 'WenbinZhu'}

Message: SERVER-55070 Separate OpTime and WallTime in IDL, aviod parsing entire oplog entry if possible.

(cherry picked from commit 970c0bb8c47fc041ea85e7c36254bad2ade8bc2f)
Branch: v4.4
https://github.com/10gen/mongo-enterprise-modules/commit/139941599f79577824109705f660be749253d0a8

Comment by Githook User [ 10/May/21 ]

Author:

{'name': 'Wenbin Zhu', 'email': 'wenbin.zhu@mongodb.com', 'username': 'WenbinZhu'}

Message: SERVER-55070 Separate OpTime and WallTime in IDL, aviod parsing entire oplog entry if possible.

(cherry picked from commit fef36dd6aa1ca9af511996511dfe757b3d8167fc)
Branch: v4.4
https://github.com/mongodb/mongo/commit/0ba5755a1bd08c9a830dd51fcd59e207711908ea

Comment by Githook User [ 31/Mar/21 ]

Author:

{'name': 'Wenbin Zhu', 'email': 'wenbin.zhu@mongodb.com', 'username': 'WenbinZhu'}

Message: SERVER-55070 Separate OpTime and WallTime in IDL, aviod parsing entire oplog entry if possible.
Branch: master
https://github.com/mongodb/mongo/commit/fef36dd6aa1ca9af511996511dfe757b3d8167fc

Comment by Githook User [ 31/Mar/21 ]

Author:

{'name': 'Wenbin Zhu', 'email': 'wenbin.zhu@mongodb.com', 'username': 'WenbinZhu'}

Message: SERVER-55070 Separate OpTime and WallTime in IDL, aviod parsing entire oplog entry if possible.
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/970c0bb8c47fc041ea85e7c36254bad2ade8bc2f

Generated at Thu Feb 08 05:35:22 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.