-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Minor - P4
-
Affects Version/s: None
-
Component/s: Block Manager, Compaction, Statistics
-
None
-
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.