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

Resolved update count assertion failure

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • 5
    • Storage Engines 2019-10-21, Storage Engines 2019-11-04, Storage Engines 2019-11-18

      An assertion failure regarding "resolved_update_count" (compared to "visited_update_count") during transaction commit was captured by test/format on margay-aws.

      http://build.wiredtiger.com:8080/job/wiredtiger-test-race-condition-stress-sanitizer/33439/

      ++ nice ./t -1 -c CONFIG
      [1568777526:143329][3674:0x7f3c3b309700], t, file:wt.wt, WT_SESSION.commit_transaction: __wt_txn_commit, 955: resolved_update_count >= visited_update_count
      [1568777526:143524][3674:0x7f3c3b309700], t, file:wt.wt, WT_SESSION.commit_transaction: __wt_abort, 28: aborting WiredTiger library
      /tmp/jenkins15368000286152170960.sh: line 34:  3674 Aborted                 (core dumped) nice ./t -1 -c CONFIG 

      The stack trace:

      (gdb) bt
      #0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
      #1  0x00007f3c43820801 in __GI_abort () at abort.c:79
      #2  0x0000000000694df4 in __wt_abort (session=0x7f3c44e6aa70) at ../src/os_common/os_abort.c:30
      #3  0x0000000000807b5c in __wt_txn_commit (session=0x7f3c44e6aa70, cfg=0x7f3c3b3086a0) at ../src/txn/txn.c:955
      #4  0x000000000077385e in __session_commit_transaction (wt_session=0x7f3c44e6aa70, config=0x0) at ../src/session/session_api.c:1658
      #5  0x000000000050e5f8 in commit_transaction (tinfo=0x62f0000a8400, prepared=true) at ../../../test/format/ops.c:428
      #6  0x000000000050c0d3 in ops (arg=0x62f0000a8400) at ../../../test/format/ops.c:976
      #7  0x00007f3c447cf6db in start_thread (arg=0x7f3c3b309700) at pthread_create.c:463
      #8  0x00007f3c4390188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 

      The configuration:

      ############################################
      #  RUN PARAMETERS
      ############################################
      abort=0
      alter=0
      assert_commit_timestamp=0
      assert_read_timestamp=0
      auto_throttle=1
      backups=0
      bitcnt=4
      bloom=0
      bloom_bit_count=20
      bloom_hash_count=21
      bloom_oldest=0
      cache=320
      cache_minimum=20
      checkpoints=on
      checkpoint_log_size=156
      checkpoint_wait=32
      checksum=on
      chunk_size=8
      compaction=0
      compression=none
      data_extend=0
      data_source=table
      delete_pct=34
      dictionary=0
      direct_io=0
      encryption=rotn-7
      evict_max=4
      file_type=row-store
      firstfit=0
      huffman_key=0
      huffman_value=0
      independent_thread_rng=1
      in_memory=0
      insert_pct=32
      internal_key_truncation=1
      internal_page_max=9
      isolation=snapshot
      key_gap=18
      key_max=73
      key_min=21
      leaf_page_max=14
      leak_memory=0
      logging=0
      logging_archive=1
      logging_compression=none
      logging_file_max=414954
      logging_prealloc=1
      long_running_txn=0
      lsm_worker_threads=3
      memory_page_max=5
      merge_max=10
      mmap=1
      modify_pct=21
      ops=0
      prefix_compression=1
      prefix_compression_min=3
      prepare=1
      quiet=1
      read_pct=6
      rebalance=1
      repeat_data_pct=22
      reverse=0
      rows=1000000
      runs=1
      salvage=1
      split_pct=73
      statistics=0
      statistics_server=0
      threads=32
      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=1
      timing_stress_split_3=0
      timing_stress_split_4=1
      timing_stress_split_5=0
      timing_stress_split_6=1
      timing_stress_split_7=0
      timing_stress_split_8=0
      transaction_timestamps=1
      transaction-frequency=100
      truncate=1
      value_max=3401
      value_min=9
      verify=1
      wiredtiger_config=
      write_pct=7
      ############################################ 

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

              Created:
              Updated:
              Resolved: