Prove generating DamageVector from docDiff in unittest

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Execution Team 2021-05-31
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Yuhong Zhang
            Reporter:
            Henrik Edin
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: