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

Unexpected timestamp usage using dump/load wt commands

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • 3
    • StorEng - Defined Pipeline

      Commit used:

      * d70d6394c (HEAD -> develop, origin/develop, origin/HEAD) WT-11209 Remove mongodb-4.0 from older branches in compatibility testing (#9318)
      

      Config for the reproducer:

      ############################################
      #  RUN PARAMETERS: V3
      ############################################
      assert.read_timestamp=0
      backup=0
      backup.incremental=off
      backup.incr_granularity=15671
      block_cache=0
      block_cache.cache_on_checkpoint=0
      block_cache.cache_on_writes=1
      block_cache.size=41
      btree.huffman_value=0
      buffer_alignment=0
      cache=726
      cache.evict_max=4
      cache.eviction_dirty_target=0
      cache.eviction_dirty_trigger=0
      cache.minimum=20
      checkpoint=on
      checkpoint.log_size=165
      checkpoint.wait=48
      debug.checkpoint_retention=3
      debug.cursor_reposition=0
      debug.eviction=0
      debug.log_retention=7
      debug.realloc_exact=0
      debug.realloc_malloc=1
      debug.slow_checkpoint=1
      debug.table_logging=0
      debug.update_restore_evict=0
      disk.data_extend=1
      disk.direct_io=0
      disk.encryption=none
      disk.mmap=1
      disk.mmap_all=0
      file_manager.close_handle_minimum=32
      file_manager.close_idle_time=30
      file_manager.close_scan_interval=21
      format.abort=0
      format.independent_thread_rng=1
      format.major_timeout=0
      import=0
      logging=0
      logging.compression=none
      logging.file_max=181935
      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=1
      ops.salvage=0
      ops.verify=1
      quiet=0
      random.data_seed=11554669
      random.extra_seed=1355855
      runs.in_memory=0
      runs.ops=0
      runs.predictable_replay=0
      runs.rows=1000000
      runs.tables=1
      runs.threads=10
      runs.timer=1
      runs.verify_failure_dump=0
      statistics.mode=all
      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.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=1
      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=0
      transaction.timestamps=1
      wiredtiger.config=off
      wiredtiger.rwlock=1
      wiredtiger.leak_memory=0
      ############################################
      #  TABLE PARAMETERS: table 1
      ############################################
      table1.btree.compression=none
      table1.btree.dictionary=1
      table1.btree.internal_key_truncation=1
      table1.btree.internal_page_max=17
      table1.btree.key_max=28
      table1.btree.key_min=16
      table1.btree.leaf_page_max=12
      table1.btree.memory_page_max=7
      table1.btree.prefix_len=0
      table1.btree.prefix_compression=0
      table1.btree.prefix_compression_min=5
      table1.btree.reverse=0
      table1.btree.split_pct=95
      table1.btree.value_max=1872
      table1.btree.value_min=12
      table1.disk.checksum=on
      table1.disk.firstfit=0
      table1.ops.pareto=0
      table1.ops.pareto.skew=92
      table1.ops.pct.delete=2
      table1.ops.pct.insert=28
      table1.ops.pct.modify=11
      table1.ops.pct.read=53
      table1.ops.pct.write=6
      table1.ops.truncate=1
      table1.runs.mirror=0
      table1.runs.source=table
      table1.runs.type=row-store
      

      Steps to perform:

      ./t -c CONFIG
      ../../wt -h RUNDIR dump table:T00001 > dump_wt.txt
      ../../wt -h RUNDIR load -f dump_wt.txt
      

      The error is:

      [1687399780:132115][12790:0x7f48c3fbb340], wt: [WT_VERB_DEFAULT][ERROR]: __txn_timestamp_usage_check, 873: file:T00001.wt: unexpected timestamp usage: no timestamp provided for an update to a table configured to always use timestamps once they are first used: Invalid argument
      [1687399780:132154][12790:0x7f48c3fbb340], wt: [WT_VERB_DEFAULT][ERROR]: __wt_abort, 28: aborting WiredTiger library
      

            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: