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

Update assert to consider deleted HS values when checking for duplicate inserts

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT10.0.0, 4.9.0, 4.4.4
    • Affects Version/s: None
    • Component/s: None
    • None
    • 5
    • Storage - Ra 2021-02-08

      format failure in current develop, a78ce81d76e9c4cfdd36b07cd0bd4b1702b278e2.

      [1611956040:181263][105768:0x7fbfdfb6e700], file:WiredTigerHS.wt, eviction-server: 
      __hs_insert_record_with_btree, 232: 
      tw->start_txn == WT_TXN_NONE || tw->start_txn != hs_cbt->upd_value->tw.start_txn || tw->start_ts != hs_cbt->upd_value->tw.start_ts
      

      CONFIG:

      ############################################
      #  RUN PARAMETERS: V2
      ############################################
      assert.commit_timestamp=0
      assert.read_timestamp=0
      backup=0
      backup.incremental=off
      backup.incr_granularity=4895
      btree.bitcnt=1
      btree.compression=none
      btree.dictionary=0
      btree.huffman_value=0
      btree.internal_key_truncation=1
      btree.internal_page_max=16
      btree.key_gap=12
      btree.key_max=107
      btree.key_min=15
      btree.leaf_page_max=13
      btree.memory_page_max=2
      btree.prefix_compression=1
      btree.prefix_compression_min=3
      btree.repeat_data_pct=44
      btree.reverse=1
      btree.split_pct=78
      btree.value_max=1820
      btree.value_min=1
      cache=45
      cache.evict_max=5
      cache.minimum=20
      checkpoint=on
      checkpoint.log_size=120
      checkpoint.wait=40
      disk.checksum=uncompressed
      disk.data_extend=0
      disk.direct_io=0
      disk.encryption=none
      disk.firstfit=0
      disk.mmap=1
      disk.mmap_all=0
      format.abort=0
      format.independent_thread_rng=0
      format.major_timeout=0
      logging=0
      logging.archive=0
      logging.compression=none
      logging.file_max=337247
      logging.prealloc=1
      lsm.auto_throttle=1
      lsm.bloom=1
      lsm.bloom_bit_count=63
      lsm.bloom_hash_count=31
      lsm.bloom_oldest=0
      lsm.chunk_size=6
      lsm.merge_max=11
      lsm.worker_threads=4
      ops.alter=0
      ops.compaction=0
      ops.hs_cursor=0
      ops.pct.delete=4
      ops.pct.insert=0
      ops.pct.modify=83
      ops.pct.read=11
      ops.pct.write=2
      ops.prepare=1
      ops.random_cursor=0
      ops.salvage=0
      ops.truncate=1
      ops.verify=1
      quiet=1
      runs=1
      runs.in_memory=0
      runs.ops=0
      runs.rows=355000
      runs.source=table
      runs.threads=10
      runs.timer=11
      runs.type=row-store
      runs.verify_failure_dump=0
      statistics=0
      statistics.server=0
      stress.aggressive_sweep=0
      stress.checkpoint=0
      stress.checkpoint_prepare=0
      stress.hs_checkpoint_delay=0
      stress.hs_search=0
      stress.hs_sweep=0
      stress.split_1=0
      stress.split_2=0
      stress.split_3=0
      stress.split_4=0
      stress.split_5=0
      stress.split_6=0
      stress.split_7=0
      stress.split_8=0
      transaction.frequency=100
      transaction.isolation=snapshot
      transaction.rollback_to_stable=0
      transaction.timestamps=1
      wiredtiger.config=
      wiredtiger.rwlock=1
      wiredtiger.leak_memory=0
      ############################################
      

       

            Assignee:
            haseeb.bokhari@mongodb.com Haseeb Bokhari (Inactive)
            Reporter:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: