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

Change ordering on shutdown to close LSM and async threads earlier

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • WT3.2.1, 4.3.1, 4.2.0-rc3
    • None
    • None
    • 8
    • Storage Engines 2019-06-17, Storage Engines 2019-07-01, Storage Engines 2019-07-19

    Description

      This fixes a bug where shutting down the with LSM trees was causing a panic.

      This looks like fallout from WT-4793. The LSM bloom filter lookup failure was capture while executing the checkpoint testing. 

      http://build.wiredtiger.com:8080/job/wiredtiger-test-spinlock/4781/

      Ran workers for: 2.171257 seconds
      Finished a checkpoint
      [1559100074:341046][31340:0x7f484effd700], t, file:__wt0001-000003.bf, lsm-worker: __wt_bloom_hash_get, 317: Failed lookup in bloom filter: WT_ERROR: non-specific WiredTiger error
      [1559100074:341075][31340:0x7f484effd700], t, file:__wt0001-000003.bf, lsm-worker: __lsm_worker, 179: Error in LSM worker thread 2: WT_ERROR: non-specific WiredTiger error
      [1559100074:341082][31340:0x7f484effd700], t, file:__wt0001-000003.bf, lsm-worker: __wt_panic, 520: the process must exit and restart: WT_PANIC: WiredTiger library panic
      [1559100074:445207][31340:0x7f485f9bab80], t, WT_CONNECTION.close: __wt_cache_destroy, 386: cache server: exiting with 142337 pages in memory and 133147 pages evicted
      [1559100074:445228][31340:0x7f485f9bab80], t, WT_CONNECTION.close: __wt_cache_destroy, 391: cache server: exiting with 5705912 image bytes in memory
      [1559100074:445234][31340:0x7f485f9bab80], t, WT_CONNECTION.close: __wt_cache_destroy, 395: cache server: exiting with 25468933 bytes in memory
      [1559100074:445238][31340:0x7f485f9bab80], t, WT_CONNECTION.close: __wt_cache_destroy, 402: cache server: exiting with 35112 bytes dirty and 19 pages dirty
      t: conn.close: WT_PANIC: WiredTiger library panic
      t: Start workers failed: WT_PANIC: WiredTiger library panic
      Closing connection 

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: