[SERVER-48543] Improve serialization format to avoid delta oplog exceeding max BSON depth Created: 02/Jun/20  Updated: 29/Oct/23  Resolved: 04/Aug/20

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

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

Issue Links:
Duplicate
is duplicated by SERVER-48584 Write test for delta oplog entries on... Closed
Backwards Compatibility: Fully Compatible
Sprint: Query 2020-07-13, Query 2020-07-27, Query 2020-08-10
Participants:

 Description   

OplogDeltaCalculator::computeDiff() function does not handle the case when BSON max depth is reached. We should bail out when the computeDiff() function tries to record an update at the deepest level.



 Comments   
Comment by Githook User [ 04/Aug/20 ]

Author:

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

Message: SERVER-48543 Improve serialization format to avoid delta oplog exceeding max BSON depth
Branch: master
https://github.com/mongodb/mongo/commit/5dafb078745955b3ea6419a4df172d77484710a8

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