]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
Customize CompressedSecondaryCache by block kind (#11204)
authorPeter Dillinger <peterd@fb.com>
Fri, 17 Feb 2023 01:22:27 +0000 (17:22 -0800)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Fri, 17 Feb 2023 01:22:27 +0000 (17:22 -0800)
commit64a1f7670fddc10060f0ca92b4fedc1feb21df22
tree1d624319e4ed539641c61242e1bde77cc273323b
parent88056ea6cb158a31e4e40bf8b47bdcbc5b8391d7
Customize CompressedSecondaryCache by block kind (#11204)

Summary:
Added `do_not_compress_roles` to `CompressedSecondaryCacheOptions` to disable compression on certain kinds of block. Filter blocks are now not compressed by CompressedSecondaryCache by default.

Pull Request resolved: https://github.com/facebook/rocksdb/pull/11204

Test Plan: unit test added

Reviewed By: anand1976

Differential Revision: D43147698

Pulled By: pdillinger

fbshipit-source-id: db496975ae975fa18f157f93fe131a16315ac875
HISTORY.md
cache/compressed_secondary_cache.cc
cache/compressed_secondary_cache.h
cache/compressed_secondary_cache_test.cc
include/rocksdb/cache.h