If compression is disabled after being enabled for a while, then pages may remain compressed if they are not evicted and/or compacted. This can add the decompress overhead to scans. To avoid this, if a scan sees a compressed page, it should be decompressed.
Note that if tryPageSwapin decompresses a page, it must not compress it after swapin. If this is not handled, we may run into
|For Gerrit Dashboard: MB-50170|
|168007,1||MB-50170: Decompress pages on swapin if compression is disabled||unstable||plasma||Status: MERGED||+2||+1|