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

Fix leak of updates from history store

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT10.0.0, 4.4.0-rc0, 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      What I’m seeing is that the code to do unconditional removes from history store installs a tombstone update over the top of any existing updates — i.e., it creates an update chain with the tombstone but doesn’t link it to any existing updates already in the tree, so they become unreachable.

      __wt_row_modify just swaps its update argument into place. Callers are responsible for pointing to the existing updates in the list. This shouldn’t be an issue for the original inserts into history because we expect them to be new. It would be good to check that, of course.

            Assignee:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Reporter:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: