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

Clear updates structure in wt_hs_insert_updates to avoid firing assert

    • 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
    • 3
    • Storage - Ra 2021-07-26

      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.

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

              Created:
              Updated:
              Resolved: