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

Rollback transaction core dumped with upd->start_ts >= unpack->stop_ts

    • 5
    • Storage Engines 2020-02-24

      A core dump fired on format stress job finding start timestamp was later than stop timestamp during transaction rollback, after merging durable history branch into develop.

      http://build.wiredtiger.com:8080/job/wiredtiger-test-format-stress/73412/

      [1581569210:566929][17959:0x7f55f1ffb700], t, file:wt.wt, WT_SESSION.rollback_transaction: __rec_append_orig_value, 116: upd->start_ts >= unpack->stop_ts
      [1581569210:566955][17959:0x7f55f1ffb700], t, file:wt.wt, WT_SESSION.rollback_transaction: __wt_abort, 28: aborting WiredTiger library 

      Function trace:

      Backtrace:
      /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7)[0x7f5604a08e97]
      /lib/x86_64-linux-gnu/libc.so.6(abort+0x141)[0x7f5604a0a801]
      /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress/build_posix/../src/os_common/os_alloc.c:33(__wt_calloc)[0x499bf2]
      /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress/build_posix/../src/reconcile/rec_visibility.c:118(__rec_append_orig_value)[0x5f92b1]
      /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress/build_posix/../src/reconcile/rec_visibility.c:489(__wt_rec_upd_select)[0x5fa08b]
      /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress/build_posix/../src/reconcile/rec_row.c:799(__wt_rec_row_leaf)[0x5f754a]
      /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress/build_posix/../src/reconcile/rec_write.c:176(__reconcile)[0x4b4a5f]
      /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress/build_posix/../src/reconcile/rec_write.c:87(__wt_reconcile)[0x4b46f1]
      /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress/build_posix/../src/evict/evict_page.c:630(__evict_review)[0x471210]
      /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress/build_posix/../src/evict/evict_page.c:149(__wt_evict)[0x46f821]
      /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress/build_posix/../src/evict/evict_lru.c:2231(__evict_page)[0x46c41c]
      /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress/build_posix/../src/evict/evict_lru.c:2321(__wt_cache_eviction_worker)[0x46c9f6]
      /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress/build_posix/../src/include/cache.i:428 (discriminator 1)(__wt_cache_eviction_check)[0x4f645f]
      /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress/build_posix/../src/txn/txn.c:1391(__wt_txn_rollback)[0x4fac0f]
      /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress/build_posix/../src/session/session_api.c:1746(__session_rollback_transaction)[0x4d7f51]
      /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress/build_posix/test/format/../../../test/format/ops.c:462(rollback_transaction)[0x407f02]
      /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress/build_posix/test/format/../../../test/format/ops.c:994(ops)[0x409543]
      /lib/x86_64-linux-gnu/libpthread.so.0(+0x76db)[0x7f56054036db]
      /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7f5604aeb88f] 

      Format configuration: 

      ############################################
      #  RUN PARAMETERS
      ############################################
      abort=0
      alter=0
      assert_commit_timestamp=0
      assert_read_timestamp=0
      auto_throttle=1
      backups=0
      bitcnt=8
      bloom=1
      bloom_bit_count=61
      bloom_hash_count=13
      bloom_oldest=0
      cache=80
      cache_minimum=20
      checkpoints=off
      checkpoint_log_size=97
      checkpoint_wait=35
      checksum=uncompressed
      chunk_size=1
      compaction=0
      compression=none
      data_extend=0
      data_source=table
      delete_pct=7
      dictionary=0
      direct_io=0
      encryption=none
      evict_max=3
      file_type=row-store
      firstfit=0
      huffman_key=0
      huffman_value=0
      independent_thread_rng=0
      in_memory=0
      insert_pct=55
      internal_key_truncation=1
      internal_page_max=14
      isolation=snapshot
      key_gap=3
      key_max=123
      key_min=27
      leaf_page_max=14
      leak_memory=0
      logging=0
      logging_archive=0
      logging_compression=none
      logging_file_max=167681
      logging_prealloc=1
      lsm_worker_threads=3
      major_timeout=0
      memory_page_max=5
      merge_max=10
      mmap=1
      modify_pct=1
      ops=0
      prefix_compression=1
      prefix_compression_min=3
      prepare=0
      quiet=1
      random_cursor=0
      read_pct=34
      rebalance=1
      repeat_data_pct=66
      reverse=0
      rows=1000000
      runs=1
      salvage=1
      split_pct=86
      statistics=0
      statistics_server=0
      threads=8
      timer=4
      timing_stress_aggressive_sweep=0
      timing_stress_checkpoint=0
      timing_stress_hs_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=1577
      value_min=9
      verify=1
      wiredtiger_config=
      write_pct=3
      ############################################ 

            Assignee:
            chenhao.qu@mongodb.com Chenhao Qu
            Reporter:
            luke.chen@mongodb.com Luke Chen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: