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

We cannot evict mixed mode tombstone when checkpoint is running

    • 3
    • Storage - Ra 2022-05-30

          onpage_upd = upd_select->upd != NULL && upd_select->upd->type == WT_UPDATE_TOMBSTONE ?
            NULL :
            upd_select->upd;
      
          /* Check the update chain for conditions that could prevent it's eviction. */
          WT_RET(__rec_validate_upd_chain(session, r, onpage_upd, select_tw, vpack));
      

      When validating whether the update can be evicted or not, we intentionally bypass tombstone, which is wrong. If it a mixed mode tombstone, we cannot evict as well if checkpoint is running.

            Assignee:
            chenhao.qu@mongodb.com Chenhao Qu
            Reporter:
            chenhao.qu@mongodb.com Chenhao Qu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: