]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
Assume fixed size key (#10137)
authorGuido Tagliavini Ponce <tagliavini@fb.com>
Sat, 11 Jun 2022 02:12:18 +0000 (19:12 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Sat, 11 Jun 2022 02:12:18 +0000 (19:12 -0700)
commit415200d792a4f1663d61ebd588d2c75d2a560d47
tree4aa71c3bdb4f17b04a1dbd1f44fab50301a05a63
parent80afa776607a21895f207babb8722c04414590e9
Assume fixed size key (#10137)

Summary:
FastLRUCache now only supports 16B keys. The tests have changed to reflect this.

Because the unit tests were designed for caches that accept any string as keys, some tests are no longer compatible with FastLRUCache. We have disabled those for runs with FastLRUCache. (We could potentially change all tests to use 16B keys, but we don't because the cache public API does not require this.)

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

Test Plan: make -j24 check

Reviewed By: gitbw95

Differential Revision: D37083934

Pulled By: guidotag

fbshipit-source-id: be1719cf5f8364a9a32bc4555bce1a0de3833b0d
cache/cache_test.cc
cache/fast_lru_cache.cc
cache/lru_cache_test.cc
db/db_block_cache_test.cc