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

Deadlock opening lookaside table cursor

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • WT2.7.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      The stress-sanitizer job deadlocked today – a verify was holding the schema lock, waiting for eviction to drain, and an eviction thread was trying to open a cursor on the lookaside table and waiting on the schema lock.

      http://build.wiredtiger.com:8080/job/wiredtiger-test-format-stress-sanitizer/7116/console

            2 pthread_cond_timedwait@@GLIBC_2.3.2,__wt_cond_wait_signal,__wt_cond_wait,__evict_worker,start_thread,clone
            2
            1 select,__wt_sleep,__evict_walk,__evict_lru_walk,__evict_pass,__evict_server,start_thread,clone
            1 sched_yield,__wt_yield,__wt_evict_file_exclusive_on,__wt_evict_file,__wt_cache_op,__checkpoint_worker,__wt_checkpoint_close,__wt_conn_btree_sync_and_close,__wt_conn_dhandle_close_all,__wt_schema_worker,__session_verify,wts_verify,main
            1 __lll_lock_wait,pthread_mutex_lock,__wt_spin_lock,__session_get_dhandle,__wt_session_get_btree,__wt_session_get_btree_ckpt,__wt_curfile_open,__wt_open_cursor,__las_cursor_create,__wt_las_cursor,__wt_las_sweep,__sweep_server,start_thread,clone
            1 __lll_lock_wait,pthread_mutex_lock,__wt_spin_lock,__session_get_dhandle,__wt_session_get_btree,__wt_session_get_btree_ckpt,__wt_curfile_open,__wt_open_cursor,__las_cursor_create,__wt_las_cursor,__rec_update_las,__rec_split_write,__rec_split_finish_std,__rec_split_finish,__rec_row_leaf,__wt_reconcile,__evict_review,__wt_evict,__evict_page,__evict_lru_pages,__evict_worker,start_thread,clone
      

            Assignee:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Reporter:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: