[SERVER-50650] Use common interface for V2LogBuilder and document diff calculation code Created: 31/Aug/20  Updated: 29/Oct/23  Resolved: 17/Sep/20

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

Type: Task Priority: Major - P3
Reporter: Ian Boros Assignee: Arun Banala
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Query 2020-09-21
Participants:

 Description   

There is a lot overlapping behavior between the DocumentDiffBuilder and the V2LogBuilder. We should consider using the V2LogBuilder in the document diff calculation logic, which would allow us to delete the DocumentDiffBuilder.



 Comments   
Comment by Githook User [ 17/Sep/20 ]

Author:

{'name': 'Arun Banala', 'email': 'arun.banala@mongodb.com', 'username': 'banarun'}

Message: SERVER-50650 Merge V2LogBuilder and document diff calculation code
Branch: master
https://github.com/mongodb/mongo/commit/a7714cfefeb609b30bbf2d9340418ce809d32146

Comment by Ian Boros [ 31/Aug/20 ]

After some discussion with Arun, we agreed that this would require us to add some kind of abandon() functionality to the v2 log builder as well as size tracking logic, though we're not sure how difficult this would be.

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