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

Assertion cbt->slot != UINT32_MAX fires in __wt_modify_reconstruct_from_upd_list

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      I hit this issue in a patch build which contains changes that should not be behind this assertion.

      The error:

      [2023/09/07 06:08:22.035]     [1694066892:220105][65273:0x7f6667f62700], t, file:T00001.wt, WT_CURSOR.next: [WT_VERB_DEFAULT][ERROR]: int __wt_modify_reconstruct_from_upd_list(WT_SESSION_IMPL *, WT_CURSOR_BTREE *, WT_UPDATE *, WT_UPDATE_VALUE *), 493: WiredTiger assertion failed: 'cbt->slot != (4294967295U)'. Expression returned false
      [2023/09/07 06:08:22.035]     [1694066892:221905][65273:0x7f6667f62700], t, file:T00001.wt, WT_CURSOR.next: [WT_VERB_DEFAULT][ERROR]: void __wt_abort(WT_SESSION_IMPL *), 28: aborting WiredTiger library
      

      Config:

      ############################################
      #  RUN PARAMETERS: V3
      ############################################
      assert.read_timestamp=0
      background_compact=0
      background_compact.free_space_target=2
      backup=0
      backup.incremental=off
      backup.incr_granularity=2485
      block_cache=0
      block_cache.cache_on_checkpoint=0
      block_cache.cache_on_writes=1
      block_cache.size=19
      btree.huffman_value=0
      buffer_alignment=0
      cache=1344
      cache.evict_max=5
      cache.eviction_dirty_target=0
      cache.eviction_dirty_trigger=0
      cache.minimum=20
      checkpoint=on
      checkpoint.log_size=62
      checkpoint.wait=76
      compact.free_space_target=81
      debug.checkpoint_retention=3
      debug.cursor_reposition=0
      debug.eviction=0
      debug.log_retention=1
      debug.realloc_exact=0
      debug.realloc_malloc=0
      debug.slow_checkpoint=0
      debug.table_logging=0
      debug.update_restore_evict=0
      disk.data_extend=0
      disk.direct_io=0
      disk.encryption=none
      disk.mmap=1
      disk.mmap_all=0
      file_manager.close_handle_minimum=25
      file_manager.close_idle_time=7
      file_manager.close_scan_interval=20
      format.abort=0
      format.independent_thread_rng=1
      format.major_timeout=0
      import=0
      logging=1
      logging.compression=none
      logging.file_max=309557
      logging.prealloc=1
      logging.remove=1
      ops.alter=0
      ops.compaction=0
      ops.hs_cursor=0
      ops.bound_cursor=0
      ops.prepare=0
      ops.random_cursor=0
      ops.salvage=0
      ops.verify=1
      quiet=1
      random.data_seed=14757478
      random.extra_seed=11985198
      runs.in_memory=0
      runs.ops=0
      runs.predictable_replay=0
      runs.rows=1800000
      runs.tables=5
      runs.threads=32
      runs.timer=21
      runs.verify_failure_dump=0
      statistics.mode=fast
      statistics_log.sources=off
      stress.aggressive_stash_free=0
      stress.aggressive_sweep=0
      stress.checkpoint=0
      stress.checkpoint_evict_page=0
      stress.checkpoint_prepare=0
      stress.compact_slow=0
      stress.evict_reposition=0
      stress.failpoint_eviction_split=0
      stress.failpoint_hs_delete_key_from_ts=0
      stress.hs_checkpoint_delay=0
      stress.hs_search=0
      stress.hs_sweep=0
      stress.prepare_resolution_1=0
      stress.sleep_before_read_overflow_onpage=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
      tiered_storage.flush_frequency=0
      tiered_storage.storage_source=off
      transaction.implicit=17
      transaction.operation_timeout_ms=2000
      transaction.timestamps=0
      wiredtiger.config=off
      wiredtiger.rwlock=1
      wiredtiger.leak_memory=0
      ############################################
      #  TABLE PARAMETERS: table 1
      ############################################
      table1.btree.compression=none
      table1.btree.dictionary=0
      table1.btree.internal_key_truncation=0
      table1.btree.internal_page_max=14
      table1.btree.key_max=25
      table1.btree.key_min=25
      table1.btree.leaf_page_max=11
      table1.btree.memory_page_max=2
      table1.btree.prefix_len=0
      table1.btree.prefix_compression=1
      table1.btree.prefix_compression_min=1
      table1.btree.reverse=0
      table1.btree.split_pct=50
      table1.btree.value_max=1846
      table1.btree.value_min=7
      table1.disk.checksum=on
      table1.disk.firstfit=0
      table1.ops.pareto=1
      table1.ops.pareto.skew=58
      table1.ops.pct.delete=47
      table1.ops.pct.insert=15
      table1.ops.pct.modify=13
      table1.ops.pct.read=1
      table1.ops.pct.write=24
      table1.ops.truncate=1
      table1.runs.mirror=1
      table1.runs.source=table
      table1.runs.type=row-store
      ############################################
      #  TABLE PARAMETERS: table 2
      ############################################
      table2.btree.compression=lz4
      table2.btree.dictionary=1
      table2.btree.internal_key_truncation=1
      table2.btree.internal_page_max=13
      table2.btree.key_max=112
      table2.btree.key_min=16
      table2.btree.leaf_page_max=12
      table2.btree.memory_page_max=2
      table2.btree.prefix_len=0
      table2.btree.prefix_compression=1
      table2.btree.prefix_compression_min=3
      table2.btree.reverse=0
      table2.btree.split_pct=75
      table2.btree.value_max=2753
      table2.btree.value_min=12
      table2.disk.checksum=on
      table2.disk.firstfit=0
      table2.ops.pareto=1
      table2.ops.pareto.skew=75
      table2.ops.pct.delete=53
      table2.ops.pct.insert=7
      table2.ops.pct.modify=20
      table2.ops.pct.read=5
      table2.ops.pct.write=15
      table2.ops.truncate=1
      table2.runs.mirror=1
      table2.runs.source=table
      table2.runs.type=row-store
      ############################################
      #  TABLE PARAMETERS: table 3
      ############################################
      table3.btree.compression=none
      table3.btree.dictionary=1
      table3.btree.internal_key_truncation=1
      table3.btree.internal_page_max=14
      table3.btree.key_max=84
      table3.btree.key_min=26
      table3.btree.leaf_page_max=12
      table3.btree.memory_page_max=4
      table3.btree.prefix_len=41
      table3.btree.prefix_compression=1
      table3.btree.prefix_compression_min=8
      table3.btree.reverse=0
      table3.btree.split_pct=68
      table3.btree.value_max=2830
      table3.btree.value_min=4
      table3.disk.checksum=on
      table3.disk.firstfit=0
      table3.ops.pareto=1
      table3.ops.pareto.skew=78
      table3.ops.pct.delete=1
      table3.ops.pct.insert=0
      table3.ops.pct.modify=1
      table3.ops.pct.read=0
      table3.ops.pct.write=98
      table3.ops.truncate=1
      table3.runs.mirror=1
      table3.runs.source=table
      table3.runs.type=row-store
      ############################################
      #  TABLE PARAMETERS: table 4
      ############################################
      table4.btree.compression=none
      table4.btree.dictionary=0
      table4.btree.internal_key_truncation=1
      table4.btree.internal_page_max=13
      table4.btree.key_max=128
      table4.btree.key_min=31
      table4.btree.leaf_page_max=11
      table4.btree.memory_page_max=10
      table4.btree.prefix_len=0
      table4.btree.prefix_compression=1
      table4.btree.prefix_compression_min=6
      table4.btree.reverse=0
      table4.btree.split_pct=59
      table4.btree.value_max=2206
      table4.btree.value_min=0
      table4.disk.checksum=on
      table4.disk.firstfit=0
      table4.ops.pareto=1
      table4.ops.pareto.skew=28
      table4.ops.pct.delete=9
      table4.ops.pct.insert=10
      table4.ops.pct.modify=2
      table4.ops.pct.read=4
      table4.ops.pct.write=75
      table4.ops.truncate=1
      table4.runs.mirror=1
      table4.runs.source=file
      table4.runs.type=row-store
      ############################################
      #  TABLE PARAMETERS: table 5
      ############################################
      table5.btree.compression=zlib
      table5.btree.dictionary=0
      table5.btree.internal_key_truncation=1
      table5.btree.internal_page_max=12
      table5.btree.key_max=86
      table5.btree.key_min=22
      table5.btree.leaf_page_max=9
      table5.btree.memory_page_max=3
      table5.btree.prefix_len=0
      table5.btree.prefix_compression=1
      table5.btree.prefix_compression_min=6
      table5.btree.reverse=0
      table5.btree.split_pct=94
      table5.btree.value_max=613
      table5.btree.value_min=4
      table5.disk.checksum=on
      table5.disk.firstfit=0
      table5.ops.pareto=1
      table5.ops.pareto.skew=63
      table5.ops.pct.delete=5
      table5.ops.pct.insert=88
      table5.ops.pct.modify=0
      table5.ops.pct.read=4
      table5.ops.pct.write=3
      table5.ops.truncate=1
      table5.runs.mirror=0
      table5.runs.source=table
      table5.runs.type=row-store
      ########################################
      

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: