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

Don't allow checkpoints to perform insert-splits in the tree

    • Storage Engines 2018-08-13, Storage Engines 2018-08-27
    • v4.0, v3.6

      Here's an error I've seen once from test/format:

      [1533671312:234584][32679:0x7fb0fdffb700], t, file:wt.wt, WT_CURSOR.search: __wt_page_inmem, 189: encountered an illegal file format or internal value: 0x5: Invalid argument
      [1533671312:234633][32679:0x7fb0fdffb700], t, file:wt.wt, WT_CURSOR.search: __wt_panic, 525: the process must exit and restart: WT_PANIC: WiredTiger library panic
      t: process 32679
      [1533671312:235340][32679:0x7fb1431ae700], t, eviction-server: __wt_evict_thread_run, 321: cache eviction thread error: WT_PANIC: WiredTiger library panic
      ############################################
      #  RUN PARAMETERS
      ############################################
      abort=0
      alter=0
      auto_throttle=1
      backups=1
      bitcnt=8
      bloom=1
      bloom_bit_count=54
      bloom_hash_count=27
      bloom_oldest=0
      cache=32
      cache_minimum=20
      checkpoints=off
      checkpoint_log_size=30
      checkpoint_wait=23
      checksum=uncompressed
      chunk_size=10
      compaction=1
      compression=lz4-noraw
      data_extend=0
      data_source=table
      delete_pct=8
      dictionary=0
      direct_io=0
      encryption=none
      evict_max=5
      file_type=row-store
      firstfit=1
      huffman_key=0
      huffman_value=0
      independent_thread_rng=1
      in_memory=0
      insert_pct=90
      internal_key_truncation=1
      internal_page_max=15
      isolation=random
      key_gap=4
      key_max=43
      key_min=14
      leaf_page_max=11
      leak_memory=0
      logging=1
      logging_archive=1
      logging_compression=none
      logging_file_max=15145
      logging_prealloc=0
      long_running_txn=0
      lsm_worker_threads=4
      merge_max=17
      mmap=1
      modify_pct=1
      ops=0
      prefix_compression=1
      prefix_compression_min=3
      prepare=0
      quiet=1
      read_pct=1
      rebalance=1
      repeat_data_pct=4
      reverse=0
      rows=1000000
      runs=1
      salvage=1
      split_pct=81
      statistics=0
      statistics_server=0
      threads=21
      timer=4
      timing_stress_checkpoint=1
      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=62
      truncate=1
      value_max=12385
      value_min=804
      verify=1
      wiredtiger_config=
      write_pct=0
      ############################################
      t: FAILED: ops/903: (1 && ret == WT_NOTFOUND) || ret == WT_CACHE_FULL || ret == WT_PREPARE_CONFLICT || ret == WT_ROLLBACK
      process aborting 

      I have a core file, if it's useful. The stack shows as:

      (gdb) where
      #0  0x00007fb1479811f7 in raise () from /lib64/libc.so.6
      #1  0x00007fb1479828e8 in abort () from /lib64/libc.so.6
      #2  0x000000000040edee in testutil_die (e=e@entry=0,
          fmt=fmt@entry=0x534912 "%s/%d: %s") at ../../../test/utility/misc.c:62
      #3  0x0000000000407cc1 in ops (arg=0x2f569b0) at ../../../test/format/ops.c:903
      #4  0x00007fb148349e25 in start_thread () from /lib64/libpthread.so.0
      #5  0x00007fb147a4434d in clone () from /lib64/libc.so.6
      (gdb)
      

            Assignee:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Reporter:
            donald.anderson@mongodb.com Donald Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: