Increase "blocks freed" statistic when moving blocks during compaction

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • None
    • Storage Engines, Storage Engines - Persistence
    • SE Persistence backlog
    • None

      When compaction decides to copy a page that is not already in the WT cache, it uses __wt_block_compact_page_rewrite() to perform the copy without loading the page into the WT cache.

      When doing this, it frees the old page page. The code should increment the count of freed pages, block_free to reflect this.

            Assignee:
            Keith Smith
            Reporter:
            Keith Smith
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: