Update block manager read statistics in __wt_block_compact_page_rewrite()

XMLWordPrintableJSON

    • Storage Engines, Storage Engines - Persistence
    • None
    • 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.

      This function increments the block manager write statistics, but does not increment the corresponding read statistics. 

      We should increment block_read and block_byte_read so that both the read and write parts of the copy are reflected in the WT stats.

              Assignee:
              [DO NOT USE] Backlog - Storage Engines Team
              Reporter:
              Keith Smith
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: