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

Refactor __evict_walk_tree to reduce its cyclomatic complexity

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Storage Engines
    • StorEng - Refinement Pipeline

      __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:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            chenhao.qu@mongodb.com Chenhao Qu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: