sdong 223b57eeb8 Fix the bug that compressed cache is disabled in read-only DBs (#6990)
Summary:
Compressed block cache is disabled in https://github.com/facebook/rocksdb/pull/4650 for no good reason. Re-enable it.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/6990

Test Plan: Add a unit test to make sure a general function works with read-only DB + compressed block cache.

Reviewed By: ltamasi

Differential Revision: D22072755

fbshipit-source-id: 2a55df6363de23a78979cf6c747526359e5dc7a1
2020-06-17 14:30:54 -07:00
..
2020-06-15 10:47:02 -07:00
2020-06-15 10:47:02 -07:00
2020-05-28 10:40:03 -07:00
2020-06-15 10:47:02 -07:00
2020-05-28 10:40:03 -07:00
2020-05-28 10:40:03 -07:00
2020-04-20 11:39:31 -07:00
2020-05-28 10:40:03 -07:00
2020-03-02 16:01:00 -08:00
2020-05-28 10:40:03 -07:00