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

Race with LSM and eviction when switching chunks

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.9.2, 3.2.13, 3.4.4, 3.5.6
    • Component/s: None
    • Labels:
      None

      Description

      There was a test/format failure with the following error message:

      [1488057745:323813][43227:0x3ff7c57f910], t, file:wt-000018.lsm, lsm-worker: ../src/evict/evict_file.c, 88: F_ISSET(session->dhandle, WT_DHANDLE_DEAD) || __wt_page_can_evict(session, ref, NULL)
      [1488057745:324131][43227:0x3ff7c57f910], t, file:wt-000018.lsm, lsm-worker: aborting WiredTiger library
      

      The call stack leading to the abort is:

      /mnt/workspace/wiredtiger-test-format-stress-zseries/build_posix/../src/support/err.c:484(__wt_assert)[0x800ad792]
      /mnt/workspace/wiredtiger-test-format-stress-zseries/build_posix/../src/evict/evict_file.c:89(__wt_evict_file)[0x80160d64]
      /mnt/workspace/wiredtiger-test-format-stress-zseries/build_posix/../src/btree/bt_sync.c:319(__wt_cache_op)[0x801128b8]
      /mnt/workspace/wiredtiger-test-format-stress-zseries/build_posix/../src/txn/txn_ckpt.c:1651 (discriminator 1)(__wt_checkpoint_close)[0x800c5cf8]
      /mnt/workspace/wiredtiger-test-format-stress-zseries/build_posix/../src/conn/conn_dhandle.c:191(__wt_conn_btree_sync_and_close)[0x80134012]
      /mnt/workspace/wiredtiger-test-format-stress-zseries/build_posix/../src/conn/conn_dhandle.c:508(__wt_conn_dhandle_close_all)[0x8013523a]
      /mnt/workspace/wiredtiger-test-format-stress-zseries/build_posix/../src/schema/schema_drop.c:33 (discriminator 2)(__drop_file)[0x800900b2]
      /mnt/workspace/wiredtiger-test-format-stress-zseries/build_posix/../src/schema/schema_drop.c:181(__wt_schema_drop)[0x8009098a]
      /mnt/workspace/wiredtiger-test-format-stress-zseries/build_posix/../src/lsm/lsm_work_unit.c:529 (discriminator 2)(__lsm_drop_file)[0x80174c0a]
      /mnt/workspace/wiredtiger-test-format-stress-zseries/build_posix/../src/lsm/lsm_work_unit.c:620(__wt_lsm_free_chunks)[0x80174f24]
      /mnt/workspace/wiredtiger-test-format-stress-zseries/build_posix/../src/lsm/lsm_worker.c:71(__lsm_worker_general_op)[0x8005987a]
      /mnt/workspace/wiredtiger-test-format-stress-zseries/build_posix/../src/lsm/lsm_worker.c:121(__lsm_worker)[0x80059a1a]
      

      The test format configuration file is:

      ############################################
      #  RUN PARAMETERS
      ############################################
      abort=0
      alter=0
      auto_throttle=1
      backups=0
      bitcnt=3
      bloom=1
      bloom_bit_count=31
      bloom_hash_count=23
      bloom_oldest=0
      cache=30
      checkpoints=1
      checksum=uncompressed
      chunk_size=1
      compaction=1
      compression=lz4
      data_extend=0
      data_source=lsm
      delete_pct=0
      dictionary=0
      direct_io=0
      encryption=none
      evict_max=5
      file_type=row-store
      firstfit=0
      huffman_key=0
      huffman_value=0
      in_memory=0
      insert_pct=23
      internal_key_truncation=1
      internal_page_max=13
      isolation=snapshot
      key_gap=7
      key_max=107
      key_min=29
      leaf_page_max=15
      leak_memory=0
      logging=1
      logging_archive=0
      logging_compression=zlib-noraw
      logging_prealloc=1
      long_running_txn=0
      lsm_worker_threads=4
      merge_max=4
      mmap=1
      ops=100000
      prefix_compression=1
      prefix_compression_min=7
      quiet=1
      read_pct=0
      rebalance=1
      repeat_data_pct=70
      reverse=0
      rows=100000
      runs=100
      salvage=1
      split_pct=55
      statistics=1
      statistics_server=0
      threads=1
      timer=20
      transaction-frequency=3
      value_max=1457
      value_min=10
      verify=1
      wiredtiger_config=
      write_pct=77
      ############################################
      

      A link to the original test failure:
      http://build.wiredtiger.com:8080/job/wiredtiger-test-format-stress-zseries/lastFailedBuild/console

        Attachments

          Activity

            People

            • Assignee:
              michael.cahill Michael Cahill
              Reporter:
              alexander.gorrod Alexander Gorrod
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: