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

test_wt2323_join_visibility fail when processing consecutive tombstones in __wt_hs_insert_updates

    • Type: Icon: Bug Bug
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • 3
    • Storage Engines 2020-02-24

      We hit an assert when processing consecutive tombstones, which I didn't expect to exist:

      /*
       * __hs_calculate_full_value --
       *     Calculate the full value of an update.
       */
      static inline int
      __hs_calculate_full_value(WT_SESSION_IMPL *session, WT_ITEM *full_value, WT_UPDATE *upd,
        const void *base_full_value, size_t size)
      {
          if (upd->type == WT_UPDATE_MODIFY) {
              WT_RET(__wt_buf_set(session, full_value, base_full_value, size));
              WT_RET(__wt_modify_apply_item(session, full_value, upd->data, false));
          } else {
              WT_ASSERT(session, upd->type == WT_UPDATE_STANDARD);
              full_value->data = upd->data;
              full_value->size = upd->size;
          }
      
          return (0);
      }
      

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

              Created:
              Updated:
              Resolved: