[SERVER-57101] Prove generating DamageVector from docDiff in unittest Created: 20/May/21  Updated: 29/Oct/23  Resolved: 27/May/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Henrik Edin Assignee: Yuhong Zhang
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-57159 Generate DamageVector from docDiff wi... Closed
Related
related to SERVER-56520 Time-series inserts spent a lot of ti... Closed
related to SERVER-57211 Add supports for updateWithDamages() ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2021-05-31
Participants:

 Description   

Write a unittest that for a simple BSONObj with a few scalar elements at the root level can generate a docDiff and from that docDiff a DamageVector for a few simple cases:

  • Add new element
  • Change value of existing element

Use updateWithDamages to write it to WT and verify the result by reading the data back.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 26/May/21 ]

Author:

{'name': 'Yuhong Zhang', 'email': 'danielzhangyh@gmail.com', 'username': 'YuhongZhang98'}

Message: SERVER-57101 Prove generating DamageVector from docDiff in unittest
Branch: master
https://github.com/mongodb/mongo/commit/e4c852ad81aa3b7bf11dec6ce80eb3a8796fca9b

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