Rename the clean_page variable and __evict_page_dirty_update in __wt_evict

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines - Transactions
    • SE Transactions - 2026-04-10
    • 1

      The clean_page variable is used to decide whether we need to update the parent's page index by going into __evict_page_dirty_update. This naming of clean_page causes confusion as it is checking whether the page has any change that hasn't been reflected in its parent not whether the page is currently dirty or clean. Rename the variable and the relevant function names to eliminate the confusion.

            Assignee:
            Shoufu Du
            Reporter:
            Chenhao Qu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: