cache miss although data is put in RocksDB cache

This commit is contained in:
collapsar
2019-02-27 17:14:32 +08:00
parent 88e59a93f9
commit dfb91df17b
@@ -43,7 +43,7 @@ public class RocksDBPool implements CachePool {
public Object get(Object key) {
try {
byte[] keyBytes = fst.asByteArray(key);
byte[] bytes = cache.get(fst.asByteArray(keyBytes));
byte[] bytes = cache.get(keyBytes);
if (bytes != null) {
Object cached = fst.asObject(bytes);