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

Mark lookaside history resolved in all paths

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.10, WT3.2.1, 4.1.12, 3.6.14
    • Affects Version/s: None
    • Component/s: None
    • None
    • v3.6

      An assertion failure fired on the format stress test, detecting active history was not discarded while splitting during a page eviction. A core was generated on the build host margay-aws.

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

      + eval SEGFAULT_SIGNALS=all nice catchsegv ./t -1 -c ../../../test/format/CONFIG.stress
      ++ SEGFAULT_SIGNALS=all
      ++ nice catchsegv ./t -1 -c ../../../test/format/CONFIG.stress
      [1557878277:422619][30740:0x7fb0ba169700], t, file:wt.wt, eviction-server: __split_parent, 865: !__wt_page_las_active(session, next_ref)
      [1557878277:422654][30740:0x7fb0ba169700], t, file:wt.wt, eviction-server: __wt_abort, 30: aborting WiredTiger library
      Aborted (core dumped)
      *** Aborted
      
      (...)
      
      Backtrace:
      /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7)[0x7fb0bb4ebe97]
      /lib/x86_64-linux-gnu/libc.so.6(abort+0x141)[0x7fb0bb4ed801]
      /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress/build_posix/../src/os_common/os_alloc.c:34(__wt_calloc)[0x457e75]
      /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress/build_posix/../src/btree/bt_split.c:871(__split_parent)[0x508a31]
      /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress/build_posix/../src/btree/bt_split.c:2156(__split_multi)[0x50c25f]
      /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress/build_posix/../src/btree/bt_split.c:2196(__split_multi_lock)[0x50c3a5]
      /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress/build_posix/../src/btree/bt_split.c:2224 (discriminator 3)(__wt_split_multi)[0x50c472]
      /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress/build_posix/../src/evict/evict_page.c:408(__evict_page_dirty_update)[0x444fe6]
      /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress/build_posix/../src/evict/evict_page.c:226(__wt_evict)[0x444423]
      /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress/build_posix/../src/evict/evict_lru.c:2320(__evict_page)[0x4410a5]
      /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress/build_posix/../src/evict/evict_lru.c:1173(__evict_lru_pages)[0x43d7e2]
      /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress/build_posix/../src/evict/evict_lru.c:318(__wt_evict_thread_run)[0x43b933]
      /mnt/data0/jenkins/workspace/wiredtiger-test-format-stress/build_posix/../src/support/thread_group.c:31(__thread_run)[0x4aa000]
      /lib/x86_64-linux-gnu/libpthread.so.0(+0x76db)[0x7fb0bbee66db]
      /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7fb0bb5ce88f] 

      The configuration:

      ############################################
      #  RUN PARAMETERS
      ############################################
      abort=0
      alter=0
      auto_throttle=1
      backups=0
      bitcnt=7
      bloom=1
      bloom_bit_count=9
      bloom_hash_count=12
      bloom_oldest=0
      cache=288
      cache_minimum=20
      checkpoints=on
      checkpoint_log_size=117
      checkpoint_wait=9
      checksum=uncompressed
      chunk_size=9
      compaction=0
      compression=snappy
      data_extend=0
      data_source=table
      delete_pct=3
      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=3
      internal_key_truncation=1
      internal_page_max=10
      isolation=snapshot
      key_gap=2
      key_max=42
      key_min=30
      leaf_page_max=12
      leak_memory=0
      logging=0
      logging_archive=0
      logging_compression=none
      logging_file_max=355327
      logging_prealloc=0
      long_running_txn=0
      lsm_worker_threads=3
      memory_page_max=6
      merge_max=6
      mmap=1
      modify_pct=60
      ops=0
      prefix_compression=1
      prefix_compression_min=3
      prepare=0
      quiet=1
      read_pct=33
      rebalance=1
      repeat_data_pct=10
      reverse=0
      rows=1000000
      runs=1
      salvage=1
      split_pct=71
      statistics=0
      statistics_server=0
      threads=24
      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=3905
      value_min=0
      verify=1
      wiredtiger_config=
      write_pct=1
      ############################################ 

       

            Assignee:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Reporter:
            luke.chen@mongodb.com Luke Chen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: