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

LSM __wt_txn_release_snapshot assertion failure on mongodb-4.0

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • 5
    • Storage Engines 2019-12-30, Storage Engines 2020-01-13

      We started to see __wt_txn_release_snapshot assertion failure on mongodb-4.0 branch for LSM data source since Dec 5. The failure rate for the format stress sanitizer job was high (6/7) on mongodb-4.0 for the past few days because of this assertion failure. 

      http://build.wiredtiger.com:8080/job/wiredtiger-test-format-stress-sanitizer-old-branches/1822/

      ++ nice ./t file_type=row leaf_page_max=9 internal_page_max=9 key_min=256 value_min=10
      [1575856277:408143][4879:0x7f36a39ed700], t, file:WiredTiger.wt, WT_CURSOR.reset: __wt_txn_release_snapshot, 129: txn_state->pinned_id == WT_TXN_NONE || session->txn.isolation == WT_ISO_READ_UNCOMMITTED || !__wt_txn_visible_all(session, txn_state->pinned_id, WT_TS_NONE)
      [1575856277:408243][4879:0x7f36a39ed700], t, file:WiredTiger.wt, WT_CURSOR.reset: __wt_abort, 28: aborting WiredTiger library
      t: process 4879
      /tmp/jenkins2836742500296224650.sh: line 33:  4879 Aborted                 (core dumped) nice ./t file_type=row leaf_page_max=9 internal_page_max=9 key_min=256 value_min=10 

      The configuration:

      ############################################
      #  RUN PARAMETERS
      ############################################
      abort=0
      alter=0
      assert_commit_timestamp=0
      assert_read_timestamp=0
      auto_throttle=1
      backups=0
      bitcnt=2
      bloom=1
      bloom_bit_count=50
      bloom_hash_count=6
      bloom_oldest=1
      cache=69
      cache_minimum=0
      checkpoints=wiredtiger
      checkpoint_log_size=67
      checkpoint_wait=46
      checksum=uncompressed
      chunk_size=9
      compaction=0
      compression=snappy
      data_extend=0
      data_source=lsm
      delete_pct=81
      dictionary=0
      direct_io=0
      encryption=rotn-7
      evict_max=5
      file_type=row-store
      firstfit=0
      huffman_key=0
      huffman_value=0
      independent_thread_rng=1
      in_memory=0
      insert_pct=8
      internal_key_truncation=1
      internal_page_max=9
      isolation=snapshot
      key_gap=13
      key_max=256
      key_min=256
      leaf_page_max=9
      leak_memory=0
      logging=1
      logging_archive=1
      logging_compression=none
      logging_file_max=179407
      logging_prealloc=1
      long_running_txn=0
      lsm_worker_threads=4
      memory_page_max=7
      merge_max=6
      mmap=1
      modify_pct=0
      ops=100000
      prefix_compression=0
      prefix_compression_min=6
      prepare=0
      quiet=1
      random_cursor=0
      read_pct=9
      rebalance=1
      repeat_data_pct=86
      reverse=0
      rows=100000
      runs=1
      salvage=1
      split_pct=84
      statistics=1
      statistics_server=0
      threads=1
      timer=360
      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=0
      transaction-frequency=100
      truncate=0
      value_max=3837
      value_min=10
      verify=1
      wiredtiger_config=
      write_pct=2
      ############################################ 

            Assignee:
            vamsi.krishna@mongodb.com Vamsi Boyapati
            Reporter:
            luke.chen@mongodb.com Luke Chen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: