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

LSM will hang if the manager fails to start

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.5.12, WT3.0.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage 2017-08-21

      test_bug013 is stuck with the following fault injection test config:

      cmd=python ../test/suite/run.py -v 3 test_bug013
          failcountbeg=89
          failcountend=89
          timeout=300
      

      backtraces when hung:

      Backtrace:
      7:pthread_cond_timedwait@@GLIBC_2.3.2,__wt_cond_wait_signal,__wt_cond_wait,__thread_run,start_thread,clone
      1:sched_yield,__wt_yield,__wt_lsm_manager_destroy,__wt_connection_close,__conn_close,_wrap_Connection_close,PyEval_EvalFrameEx,PyEval_EvalCodeEx,PyEval_EvalFrameEx,PyEval_EvalFrameEx,PyEval_EvalCodeEx,function_call,PyObject_Call,PyEval_EvalFrameEx,PyEval_EvalCodeEx,function_call,PyObject_Call,instancemethod_call,PyObject_Call,slot_tp_call,PyObject_Call,PyEval_EvalFrameEx,PyEval_EvalCodeEx,function_call,PyObject_Call,PyEval_EvalFrameEx,PyEval_EvalCodeEx,function_call,PyObject_Call,instancemethod_call,PyObject_Call,slot_tp_call,PyObject_Call,PyEval_EvalFrameEx,PyEval_EvalFrameEx,PyEval_EvalFrameEx,PyEval_EvalCodeEx,PyEval_EvalCode,run_mod,PyRun_FileExFlags,PyRun_SimpleFileExFlags,Py_Main,__libc_start_main,_start
      1:pthread_cond_timedwait@@GLIBC_2.3.2,__wt_cond_wait_signal,__wt_cond_wait,__sweep_server,start_thread,clone
      1:pthread_cond_timedwait@@GLIBC_2.3.2,__wt_cond_wait_signal,__wt_cond_auto_wait_signal,__wt_cond_auto_wait,__wt_evict_thread_run,__thread_run,start_thread,clone
      
      Backtrace:
      7:pthread_cond_timedwait@@GLIBC_2.3.2,__wt_cond_wait_signal,__wt_cond_wait,__thread_run,start_thread,clone
      1:sched_yield,__wt_yield,__wt_lsm_manager_destroy,__wt_connection_close,__conn_close,_wrap_Connection_close,PyEval_EvalFrameEx,PyEval_EvalCodeEx,PyEval_EvalFrameEx,PyEval_EvalFrameEx,PyEval_EvalCodeEx,function_call,PyObject_Call,PyEval_EvalFrameEx,PyEval_EvalCodeEx,function_call,PyObject_Call,instancemethod_call,PyObject_Call,slot_tp_call,PyObject_Call,PyEval_EvalFrameEx,PyEval_EvalCodeEx,function_call,PyObject_Call,PyEval_EvalFrameEx,PyEval_EvalCodeEx,function_call,PyObject_Call,instancemethod_call,PyObject_Call,slot_tp_call,PyObject_Call,PyEval_EvalFrameEx,PyEval_EvalFrameEx,PyEval_EvalFrameEx,PyEval_EvalCodeEx,PyEval_EvalCode,run_mod,PyRun_FileExFlags,PyRun_SimpleFileExFlags,Py_Main,__libc_start_main,_start
      1:pthread_cond_timedwait@@GLIBC_2.3.2,__wt_cond_wait_signal,__wt_cond_wait,__sweep_server,start_thread,clone
      1:pthread_cond_timedwait@@GLIBC_2.3.2,__wt_cond_wait_signal,__wt_cond_auto_wait_signal,__wt_cond_auto_wait,__wt_evict_thread_run,__thread_run,start_thread,clone
      
      Backtrace:
      7:pthread_cond_timedwait@@GLIBC_2.3.2,__wt_cond_wait_signal,__wt_cond_wait,__thread_run,start_thread,clone
      1:sched_yield,__wt_yield,__wt_lsm_manager_destroy,__wt_connection_close,__conn_close,_wrap_Connection_close,PyEval_EvalFrameEx,PyEval_EvalCodeEx,PyEval_EvalFrameEx,PyEval_EvalFrameEx,PyEval_EvalCodeEx,function_call,PyObject_Call,PyEval_EvalFrameEx,PyEval_EvalCodeEx,function_call,PyObject_Call,instancemethod_call,PyObject_Call,slot_tp_call,PyObject_Call,PyEval_EvalFrameEx,PyEval_EvalCodeEx,function_call,PyObject_Call,PyEval_EvalFrameEx,PyEval_EvalCodeEx,function_call,PyObject_Call,instancemethod_call,PyObject_Call,slot_tp_call,PyObject_Call,PyEval_EvalFrameEx,PyEval_EvalFrameEx,PyEval_EvalFrameEx,PyEval_EvalCodeEx,PyEval_EvalCode,run_mod,PyRun_FileExFlags,PyRun_SimpleFileExFlags,Py_Main,__libc_start_main,_start
      1:pthread_cond_timedwait@@GLIBC_2.3.2,__wt_cond_wait_signal,__wt_cond_wait,__sweep_server,start_thread,clone
      1:pthread_cond_timedwait@@GLIBC_2.3.2,__wt_cond_wait_signal,__wt_cond_auto_wait_signal,__wt_cond_auto_wait,__wt_evict_thread_run,__thread_run,start_thread,clone
      

      Fault injected in the following stack

      Induced fault in following backtrace:
      mmap
      pthread_create
      __wt_thread_create
      __wt_lsm_manager_start
      __lsm_tree_open
      __wt_lsm_tree_get
      __wt_lsm_tree_create
      __wt_schema_create
      __create_colgroup
      __create_table
      __wt_schema_create
      __wt_session_create
      __session_create
      _wrap_Session_create
      PyEval_EvalFrameEx
      PyEval_EvalFrameEx
      PyEval_EvalCodeEx
      _PyFrame_DebugMallocStats
      PyObject_Call
      PyEval_EvalFrameEx
      

            Assignee:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Reporter:
            sulabh.mahajan@mongodb.com Sulabh Mahajan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: