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

Replace the check with __wt_btree_syncing_by_other_session

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • Backlog
    • Affects Version/s: None
    • Component/s: Reconciliation
    • Storage Engines

       

          if (!last_block && WT_BTREE_SYNCING(btree) && !WT_SESSION_BTREE_SYNC(session)) {
              WT_STAT_CONN_DSRC_INCR(
                session, cache_eviction_blocked_multi_block_reconcilation_during_checkpoint);
              return (__wt_set_return(session, EBUSY));
          }
      

      This check can be replaced by __wt_btree_syncing_by_other_session check.

            Assignee:
            chenhao.qu@mongodb.com Chenhao Qu
            Reporter:
            chenhao.qu@mongodb.com Chenhao Qu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: