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

Clear updates structure in wt_hs_insert_updates to avoid firing assert

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT10.0.1, 5.1.0, 4.4.8, 5.0.2
    • Component/s: None
    • Labels:
      None
    • Story Points:
      3
    • Sprint:
      Storage - Ra 2021-07-26

      Description

      In WT-7813 we added an additional condition to the loop that writes updates to the history store. Previously we would always iterate until the end of the updates stack, but now there are cases where we exit the loop before we reach the end. We do not clear this structure before iterating for the next key. It seems like the issue seen in BF-21876 is occurring because we are reading updates that should have been cleared already.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              monica.ng Monica Ng
              Reporter:
              monica.ng Monica Ng
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: