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

retry in txn_update_oldest results in a hang

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

      The retry I added in txn_update_oldest for WT-2113 is resulting in a hang when there are many threads. I see this in pmp:

            6 __wt_txn_update_oldest,__evict_review,__wt_evict,__evict_page,__wt_cache_eviction_worker,__wt_cache_eviction_check,__cursor_enter,__curfile_enter,__cursor_func_init,__wt_btcur_search_near,__curfile_search_near,read_row,ops,start_thread,clone
            6 pthread_rwlock_wrlock,ops,start_thread,clone
            4 __wt_atomic_casiv32,__wt_txn_update_oldest,__evict_review,__wt_evict,__evict_page,__wt_cache_eviction_worker,__wt_cache_eviction_check,__cursor_enter,__curfile_enter,__cursor_func_init,__wt_btcur_search_near,__curfile_search_near,read_row,ops,start_thread,clone
            2 __wt_atomic_casiv32,__wt_txn_update_oldest,__evict_review,__wt_evict,__evict_page,__wt_cache_eviction_worker,__wt_cache_eviction_check,__wt_txn_idle_cache_check,__cursor_func_init,__wt_btcur_update,__curfile_update,col_update,ops,start_thread,clone
            2 __wt_atomic_casiv32,__wt_txn_update_oldest,__evict_review,__wt_evict,__evict_page,__wt_cache_eviction_worker,__wt_cache_eviction_check,__wt_txn_begin,__session_begin_transaction,ops,start_thread,clone
            2 __wt_atomic_casiv32,__wt_txn_update_oldest,__evict_review,__wt_evict,__evict_page,__wt_cache_eviction_worker,__wt_cache_eviction_check,__cursor_enter,__curfile_enter,__cursor_func_init,__wt_btcur_update,__curfile_update,col_update,ops,start_thread,clone
            2 __wt_atomic_casiv32,__wt_txn_update_oldest,__evict_review,__wt_evict,__evict_page,__wt_cache_eviction_worker,__wt_cache_eviction_check,__cursor_enter,__curfile_enter,__cursor_func_init,__wt_btcur_search,__curfile_search,col_remove,ops,start_thread,clone
            2 
            1 __wt_txn_update_oldest,__evict_review,__wt_evict,__evict_page,__wt_cache_eviction_worker,__wt_cache_eviction_check,__wt_txn_idle_cache_check,__cursor_func_init,__wt_btcur_search,__curfile_search,col_remove,ops,start_thread,clone
            1 __wt_txn_update_oldest,__evict_review,__wt_evict,__evict_page,__wt_cache_eviction_worker,__wt_cache_eviction_check,__cursor_enter,__curfile_enter,__cursor_func_init,__wt_btcur_update,__curfile_update,col_update,ops,start_thread,clone
            1 __wt_txn_update_oldest,__evict_review,__wt_evict,__evict_page,__wt_cache_eviction_worker,__wt_cache_eviction_check,__cursor_enter,__curfile_enter,__cursor_func_init,__wt_btcur_search,__curfile_search,read_row,ops,start_thread,clone
            1 __wt_txn_update_oldest,__evict_review,__wt_evict,__evict_page,__wt_cache_eviction_worker,__wt_cache_eviction_check,__cursor_enter,__curfile_enter,__cursor_func_init,__wt_btcur_search,__curfile_search,col_remove,ops,start_thread,clone
            1 __wt_txn_update_oldest,__evict_review,__wt_evict,__evict_page,__evict_lru_pages,__evict_server_work,__evict_pass,__evict_server,start_thread,clone
            1 __wt_atomic_subiv32,__wt_txn_update_oldest,__evict_review,__wt_evict,__evict_page,__wt_cache_eviction_worker,__wt_cache_eviction_check,__cursor_enter,__curfile_enter,__cursor_func_init,__wt_btcur_search_near,__curfile_search_near,read_row,ops,start_thread,clone
            1 __wt_atomic_casiv32,__wt_txn_update_oldest,__txn_checkpoint,__wt_txn_checkpoint,__session_checkpoint,ops,start_thread,clone
            1 __wt_atomic_casiv32,__wt_txn_update_oldest,__evict_review,__wt_evict,__evict_page,__wt_cache_eviction_worker,__wt_cache_eviction_check,__wt_txn_idle_cache_check,__cursor_func_init,__wt_btcur_search,__curfile_search,col_remove,ops,start_thread,clone
            1 __wt_atomic_casiv32,__wt_txn_update_oldest,__evict_review,__wt_evict,__evict_page,__wt_cache_eviction_worker,__wt_cache_eviction_check,__cursor_enter,__curfile_enter,__cursor_func_init,__wt_btcur_search,__curfile_search,read_row,ops,start_thread,clone
      

            Assignee:
            sue.loverso@mongodb.com Susan LoVerso
            Reporter:
            sue.loverso@mongodb.com Susan LoVerso
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: