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

restored_updp is not NULL in __wt_txn_read_ upd_list_internal during RTS

    • 5
    • 2023-04-18 Leviosa Not Leviosa

      I hit the following error:

          [1680610852:782856][167510:0xffff8aea3010], t, file:T00002.wt, WT_CURSOR.search: [WT_VERB_DEFAULT][ERROR]: __wt_txn_read_
      upd_list_internal, 1006: WiredTiger assertion failed: '*restored_updp == ((void *)0)'. Expression returned false
          [1680610852:782886][167510:0xffff8aea3010], t, file:T00002.wt, WT_CURSOR.search: [WT_VERB_DEFAULT][ERROR]: __wt_abort, 28
      : aborting WiredTiger library
      

      Configuration:

          ############################################
          #  RUN PARAMETERS: V3
          ############################################
          assert.read_timestamp=0
          backup=0
          backup.incremental=off
          backup.incr_granularity=856
          block_cache=0
          block_cache.cache_on_checkpoint=0
          block_cache.cache_on_writes=0
          block_cache.size=47
          btree.huffman_value=0
          buffer_alignment=0
          cache=1452
          cache.evict_max=3
          cache.minimum=20
          checkpoint=on
          checkpoint.log_size=66
          checkpoint.wait=33
          debug.checkpoint_retention=10
          debug.cursor_reposition=0
          debug.eviction=0
          debug.log_retention=4
          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=1
          file_manager.close_handle_minimum=7
          file_manager.close_idle_time=29
          file_manager.close_scan_interval=21
          format.abort=0
          format.independent_thread_rng=0
          format.major_timeout=0
          import=0
          logging=0
          logging.compression=none
          logging.file_max=63955
          logging.prealloc=1
          logging.remove=1
          ops.alter=0
          ops.compaction=0
          ops.hs_cursor=0
          ops.bound_cursor=0
          ops.prepare=1
          ops.random_cursor=1
          ops.salvage=0
          ops.verify=1
          quiet=1
          random.data_seed=4173770
          random.extra_seed=12599215
          runs.in_memory=0
          runs.ops=0
          runs.predictable_replay=0
          runs.rows=1800000
          runs.tables=3
          runs.threads=32
          runs.timer=6
          runs.verify_failure_dump=0
          statistics.mode=all
          statistics_log.sources=off
          stress.aggressive_sweep=0
          stress.checkpoint=0
          stress.checkpoint_evict_page=0
          stress.checkpoint_prepare=0
          stress.evict_reposition=0
          stress.failpoint_eviction_fail_after_reconciliation=0
          stress.failpoint_hs_delete_key_from_ts=0
          stress.hs_checkpoint_delay=0
          stress.hs_search=0
          stress.hs_sweep=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=0
          transaction.timestamps=1
          wiredtiger.config=off
          wiredtiger.rwlock=1
          wiredtiger.leak_memory=0
          ############################################
          #  TABLE PARAMETERS: table 1
          ############################################
          table1.btree.compression=lz4
          table1.btree.dictionary=1
          table1.btree.internal_key_truncation=1  
          table1.btree.internal_page_max=10
          table1.btree.leaf_page_max=12
          table1.btree.memory_page_max=8
          table1.btree.repeat_data_pct=42
          table1.btree.split_pct=50
          table1.btree.value_max=3971
          table1.btree.value_min=5
          table1.disk.checksum=on
          table1.disk.firstfit=0
          table1.ops.pareto=0
          table1.ops.pareto.skew=48
          table1.ops.pct.delete=35
          table1.ops.pct.insert=9
          table1.ops.pct.modify=49
          table1.ops.pct.read=3
          table1.ops.pct.write=4
          table1.ops.truncate=1
          table1.runs.mirror=0
          table1.runs.source=table
          table1.runs.type=variable-length column-store
          ############################################
          #  TABLE PARAMETERS: table 2
          ############################################
          table2.btree.compression=zstd
          table2.btree.dictionary=1
          table2.btree.internal_key_truncation=1  
          table2.btree.internal_page_max=15
          table2.btree.key_max=109
          table2.btree.key_min=15
          table2.btree.leaf_page_max=9
          table2.btree.memory_page_max=8
          table2.btree.prefix_len=0
          table2.btree.prefix_compression=1
          table2.btree.prefix_compression_min=3   
          table2.btree.reverse=0
          table2.btree.split_pct=95
          table2.btree.value_max=2650
          table2.btree.value_min=10
          table2.disk.checksum=on
          table2.disk.firstfit=0
          table2.ops.pareto=1
          table2.ops.pareto.skew=56
          table2.ops.pct.delete=0
          table2.ops.pct.insert=1
          table2.ops.pct.modify=0
          table2.ops.pct.read=0
          table2.ops.pct.write=99
          table2.ops.truncate=1
          table2.runs.mirror=0
          table2.runs.source=table
          table2.runs.type=row-store
          ############################################
          #  TABLE PARAMETERS: table 3
          ############################################
          table3.btree.compression=snappy
          table3.btree.dictionary=0
          table3.btree.internal_key_truncation=0  
          table3.btree.internal_page_max=12
          table3.btree.key_max=33
          table3.btree.key_min=20
          table3.btree.leaf_page_max=9
          table3.btree.memory_page_max=6
          table3.btree.prefix_len=0
          table3.btree.prefix_compression=1
          table3.btree.prefix_compression_min=1   
          table3.btree.reverse=0
          table3.btree.split_pct=87
          table3.btree.value_max=478
          table3.btree.value_min=9
          table3.disk.checksum=unencrypted
          table3.disk.firstfit=0
          table3.ops.pareto=0
          table3.ops.pareto.skew=21
          table3.ops.pct.delete=63
          table3.ops.pct.insert=24
          table3.ops.pct.modify=0
          table3.ops.pct.read=5
          table3.ops.pct.write=8
          table3.ops.truncate=1
          table3.runs.mirror=0
          table3.runs.source=table
          table3.runs.type=row-store
      ############################################
      

      The commit used:

      commit a98f3f3a9a903c52e53006cb1f7996c60d105676 (HEAD -> develop, origin/develop, origin/HEAD)
      Author: Etienne Petrel <77254506+etienneptl@users.noreply.github.com>
      Date:   Tue Apr 4 13:51:47 2023 +1000
      
          Revert "WT-10017 Remove the unstable historical versions at the end of rollback to stable (#8969)" (#9008)
      
          This reverts commit 508e08ddf901b6dccded4bc4ba7642d133cd1885.
      

            Assignee:
            etienne.petrel@mongodb.com Etienne Petrel
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: