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

Invalid argument error while committing a timestamp transaction

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • 1
    • Storage Engines 2019-05-20

      In a test/format coverage test run, an invalid argument error failed the test during committing a timestamp on tinderbox. There's a core file generated.

      http://build.wiredtiger.com:8080/job/wiredtiger-test-coverage/3600/console

      ++ ./t -1 -q -c ../../../test/format/CONFIG.stress checkpoints=1 isolation=random leak_memory=0 mmap=1 transaction_timestamps=1 file_type=row alter=1 backups=1 compaction=1 data_extend=1 prepare=1 rebalance=1 salvage=1 statistics=1 statistics_server=1 verify=1
      [1557718772:902207][29246:0x7fec91ff3700], t, WT_SESSION.timestamp_transaction: __wt_txn_set_commit_timestamp, 676: setting a commit_timestamp requires a transaction running at snapshot isolation: Invalid argument
      t: process 29246 
      
      (...)
      
      t: FAILED: commit_transaction/640: session->timestamp_transaction(session, buf): Invalid argument
      process aborting
      /tmp/jenkins781389346636444815.sh: line 10: 29246 Aborted                 (core dumped) ./t -1 -q -c ../../../test/format/CONFIG.stress checkpoints=1 isolation=random leak_memory=0 mmap=1 transaction_timestamps=1 file_type=row alter=1 backups=1 compaction=1 data_extend=1 prepare=1 rebalance=1 salvage=1 statistics=1 statistics_server=1 verify=1
      Build step 'Execute shell' marked build as failure

      The configuration:

      ############################################
      #  RUN PARAMETERS
      ############################################
      abort=0
      alter=1
      auto_throttle=1
      backups=1
      bitcnt=8
      bloom=1
      bloom_bit_count=56
      bloom_hash_count=18
      bloom_oldest=0
      cache=240
      cache_minimum=20
      checkpoints=1
      checkpoint_log_size=181
      checkpoint_wait=73
      checksum=uncompressed
      chunk_size=4
      compaction=1
      compression=none
      data_extend=1
      data_source=table
      delete_pct=2
      dictionary=0
      direct_io=0
      encryption=none
      evict_max=0
      file_type=row-store
      firstfit=0
      huffman_key=0
      huffman_value=0
      independent_thread_rng=1
      in_memory=0
      insert_pct=97
      internal_key_truncation=1
      internal_page_max=16
      isolation=random
      key_gap=16
      key_max=60
      key_min=20
      leaf_page_max=14
      leak_memory=0
      logging=0
      logging_archive=0
      logging_compression=none
      logging_file_max=258058
      logging_prealloc=1
      long_running_txn=0
      lsm_worker_threads=4
      memory_page_max=6
      merge_max=7
      mmap=1
      modify_pct=0
      ops=0
      prefix_compression=1
      prefix_compression_min=4
      prepare=1
      quiet=1
      read_pct=0
      rebalance=1
      repeat_data_pct=40
      reverse=0
      rows=1000000
      runs=1
      salvage=1
      split_pct=79
      statistics=1
      statistics_server=1
      threads=20
      timer=4
      timing_stress_aggressive_sweep=0
      timing_stress_checkpoint=0
      timing_stress_lookaside_sweep=0
      timing_stress_split_1=0
      timing_stress_split_2=0
      timing_stress_split_3=0
      timing_stress_split_4=0
      timing_stress_split_5=0
      timing_stress_split_6=0
      timing_stress_split_7=0
      timing_stress_split_8=0
      transaction_timestamps=1
      transaction-frequency=100
      truncate=1
      value_max=3759
      value_min=16
      verify=1
      wiredtiger_config=
      write_pct=1
      ############################################ 

            Assignee:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Reporter:
            luke.chen@mongodb.com Luke Chen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: