Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-7723

Delete the updates in the history store if they are rolled back or is the first stable update on the update chain

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT10.0.1, 4.4.8, 5.0.2, 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • 8
    • Storage - Ra 2021-07-12, Storage - Ra 2021-07-26

      We have a build failure floating around where this assertion is firing.

      The general pattern that we're seeing is that we have a tombstone and a standard update in the chain, both marked with WT_UPDATE_RESTORED_FROM_DS but NOT marked with WT_UPDATE_HS. We try to insert the update into the history store only to find that the exact same value with a matching time pair already exists.

      We found a code path where this happens and fixed it in WT-7595 however, that doesn't seem to be the root cause that we're seeing in the build failures.

      The scope of this ticket is to identify the root cause and fix the issue.

            Assignee:
            chenhao.qu@mongodb.com Chenhao Qu
            Reporter:
            alex.cameron@mongodb.com Alex Cameron (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: