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

Deadlock opening lookaside table cursor

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.7.0
    • Labels:
      None
    • # Replies:
      17
    • Last comment by Customer:
      true

      Description

      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
      

        Issue Links

          Activity

          Hide
          xgen-internal-githook Githook User added a comment -

          Author:

          {u'username': u'michaelcahill', u'name': u'Michael Cahill', u'email': u'michael.cahill@mongodb.com'}

          Message: WT-2149 WT-2156 Allow eviction workers to restart.
          Branch: develop
          https://github.com/wiredtiger/wiredtiger/commit/2c6072d869d0945812af49aaa8ba0613565f9284

          Show
          xgen-internal-githook Githook User added a comment - Author: {u'username': u'michaelcahill', u'name': u'Michael Cahill', u'email': u'michael.cahill@mongodb.com'} Message: WT-2149 WT-2156 Allow eviction workers to restart. Branch: develop https://github.com/wiredtiger/wiredtiger/commit/2c6072d869d0945812af49aaa8ba0613565f9284
          Hide
          xgen-internal-githook Githook User added a comment -

          Author:

          {u'username': u'agorrod', u'name': u'Alex Gorrod', u'email': u'alexander.gorrod@mongodb.com'}

          Message: Merge pull request #2240 from wiredtiger/WT-2156

          WT-2149 WT-2156 Allow eviction workers to restart.
          Branch: develop
          https://github.com/wiredtiger/wiredtiger/commit/cc42bda7c56e40d743eeaa4240665844293778b8

          Show
          xgen-internal-githook Githook User added a comment - Author: {u'username': u'agorrod', u'name': u'Alex Gorrod', u'email': u'alexander.gorrod@mongodb.com'} Message: Merge pull request #2240 from wiredtiger/ WT-2156 WT-2149 WT-2156 Allow eviction workers to restart. Branch: develop https://github.com/wiredtiger/wiredtiger/commit/cc42bda7c56e40d743eeaa4240665844293778b8
          Hide
          xgen-internal-githook Githook User added a comment -

          Author:

          {u'username': u'michaelcahill', u'name': u'Michael Cahill', u'email': u'michael.cahill@mongodb.com'}

          Message: WT-2149 Track if the lookaside table is open when starting eviction workers.
          Branch: develop
          https://github.com/wiredtiger/wiredtiger/commit/a792371e4584c49f3c94b9e5843e0d57b2341fd8

          Show
          xgen-internal-githook Githook User added a comment - Author: {u'username': u'michaelcahill', u'name': u'Michael Cahill', u'email': u'michael.cahill@mongodb.com'} Message: WT-2149 Track if the lookaside table is open when starting eviction workers. Branch: develop https://github.com/wiredtiger/wiredtiger/commit/a792371e4584c49f3c94b9e5843e0d57b2341fd8
          Hide
          xgen-internal-githook Githook User added a comment -

          Author:

          {u'username': u'agorrod', u'name': u'Alex Gorrod', u'email': u'alexander.gorrod@mongodb.com'}

          Message: Merge pull request #2244 from wiredtiger/WT-2149

          WT-2149 Track if the lookaside table is open when starting eviction workers
          Branch: develop
          https://github.com/wiredtiger/wiredtiger/commit/b1fb715a0c3b6f697bdcad8d9e3fe5acc59c71a6

          Show
          xgen-internal-githook Githook User added a comment - Author: {u'username': u'agorrod', u'name': u'Alex Gorrod', u'email': u'alexander.gorrod@mongodb.com'} Message: Merge pull request #2244 from wiredtiger/ WT-2149 WT-2149 Track if the lookaside table is open when starting eviction workers Branch: develop https://github.com/wiredtiger/wiredtiger/commit/b1fb715a0c3b6f697bdcad8d9e3fe5acc59c71a6
          Hide
          xgen-internal-githook Githook User added a comment -

          Author:

          {u'username': u'agorrod', u'name': u'Alex Gorrod', u'email': u'alexander.gorrod@mongodb.com'}

          Message: Merge pull request #2244 from wiredtiger/WT-2149

          WT-2149 Track if the lookaside table is open when starting eviction workers
          Branch: develop
          https://github.com/wiredtiger/wiredtiger/commit/b1fb715a0c3b6f697bdcad8d9e3fe5acc59c71a6

          Show
          xgen-internal-githook Githook User added a comment - Author: {u'username': u'agorrod', u'name': u'Alex Gorrod', u'email': u'alexander.gorrod@mongodb.com'} Message: Merge pull request #2244 from wiredtiger/ WT-2149 WT-2149 Track if the lookaside table is open when starting eviction workers Branch: develop https://github.com/wiredtiger/wiredtiger/commit/b1fb715a0c3b6f697bdcad8d9e3fe5acc59c71a6

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since reply:
                1 year, 24 weeks, 1 day ago
                Date of 1st Reply: