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

shared-cache-stress can hang on mongodb-3.0 branch

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Storage 2016-11-21

      Description

      Testing the new configuration following the changes in WT-3008.

      The newly added test has hung with a stuck cache.

      GDB Trace

      (gdb) thread apply all bt
       
      Thread 3 (Thread 0x7f442bfff700 (LWP 58420)):
      #0  0x0000003e6ce0c8e9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
      #1  0x0000000000441eda in __wt_cond_wait (session=0x7f4420039de0, cond=0x7f4420057200, usecs=100000) at ../src/os_posix/os_mtx_cond.c:79
      #2  0x00000000004270d7 in __wt_cache_wait (session=0x7f4420039de0, full=239) at ../src/evict/evict_lru.c:1542
      #3  0x000000000050f027 in __wt_cache_full_check (session=0x7f4420039de0) at ../src/include/cache.i:210
      #4  0x000000000050fee3 in __cursor_enter (session=0x7f4420039de0) at ../src/include/cursor.i:63
      #5  0x000000000050ffb0 in __curfile_enter (cbt=0x7f44200207f0) at ../src/include/cursor.i:96
      #6  0x0000000000510139 in __cursor_func_init (cbt=0x7f44200207f0, reenter=true) at ../src/include/cursor.i:200
      #7  0x00000000005108cd in __wt_btcur_search (cbt=0x7f44200207f0) at ../src/btree/bt_cursor.c:309
      #8  0x00000000004cf04e in __curfile_search (cursor=0x7f44200207f0) at ../src/cursor/cur_file.c:200
      #9  0x0000000000439f34 in __wt_metadata_search (session=0x7f4420039de0, key=0x7f437800b190 "file:test.wt", valuep=0x7f442bffe948) at ../src/meta/meta_table.c:200
      #10 0x00000000004f1d32 in __wt_meta_ckptlist_get (session=0x7f4420039de0, fname=0x7f437800b190 "file:test.wt", ckptbasep=0x7f442bffeae0) at ../src/meta/meta_ckpt.c:267
      #11 0x000000000047eb96 in __checkpoint_worker (session=0x7f4420039de0, cfg=0x0, is_checkpoint=false) at ../src/txn/txn_ckpt.c:760
      #12 0x000000000047fb29 in __wt_checkpoint_close (session=0x7f4420039de0, final=true) at ../src/txn/txn_ckpt.c:1198
      #13 0x00000000004c2889 in __wt_conn_btree_sync_and_close (session=0x7f4420039de0, final=true, force=false) at ../src/conn/conn_dhandle.c:312
      #14 0x00000000004c3bce in __wt_conn_dhandle_discard_single (session=0x7f4420039de0, final=true, force=false) at ../src/conn/conn_dhandle.c:787
      #15 0x00000000004c3f76 in __wt_conn_dhandle_discard (session=0x7f4420039de0) at ../src/conn/conn_dhandle.c:850
      #16 0x0000000000416bcd in __wt_connection_close (conn=0x7f4420031c10) at ../src/conn/conn_open.c:123
      #17 0x000000000040fab1 in __conn_close (wt_conn=0x7f4420031c10, config=0x0) at ../src/conn/conn_api.c:838
      #18 0x000000000040ab07 in start_run (cfg=0x1ae5330) at ../../../bench/wtperf/wtperf.c:1902
      #19 0x000000000040a37f in thread_run_wtperf (arg=0x1ae5330) at ../../../bench/wtperf/wtperf.c:1763
      #20 0x0000003e6ce07555 in start_thread () from /lib64/libpthread.so.0
      #21 0x0000003e6cb02ded in clone () from /lib64/libc.so.6
       
      Thread 2 (Thread 0x7f43ebfff700 (LWP 58545)):
      #0  0x0000003e6ce0c8e9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
      #1  0x0000000000441eda in __wt_cond_wait (session=0x7f442003a0e0, cond=0x7f44d8008a50, usecs=1000000) at ../src/os_posix/os_mtx_cond.c:79
      #2  0x0000000000414958 in __wt_cache_pool_server (arg=0x7f442003a0e0) at ../src/conn/conn_cache_pool.c:616
      #3  0x0000003e6ce07555 in start_thread () from /lib64/libpthread.so.0
      #4  0x0000003e6cb02ded in clone () from /lib64/libc.so.6
       
      Thread 1 (Thread 0x7f44dd5e8700 (LWP 58273)):
      #0  0x0000003e6ce0859d in pthread_join () from /lib64/libpthread.so.0
      #1  0x000000000040a24a in start_all_runs (cfg=0x7ffe52c57e60) at ../../../bench/wtperf/wtperf.c:1736
      #2  0x000000000040b5b5 in main (argc=3, argv=0x7ffe52c58118) at ../../../bench/wtperf/wtperf.c:2124
      (gdb)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              david.hows David Hows
              Reporter:
              david.hows David Hows
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: