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

Refactor __evict_walk_tree to reduce its cyclomatic complexity

    • Storage Engines
    • StorEng - Refinement Pipeline
    • v8.0, v7.0, v6.0

      __evict_walk_tree is one of the most complex function in the code. I had a look at it recently. At least we can move some of the checks and stats updates to separate functions to reduce its cyclomatic complexity.

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

              Created:
              Updated:
              Resolved: