Replace the check with __wt_btree_syncing_by_other_session

XMLWordPrintableJSON

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

       

          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
            Reporter:
            Chenhao Qu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: