mirror of
https://github.com/actiontech/dble.git
synced 2026-04-28 18:20:43 -05:00
cache miss although data is put in RocksDB cache
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user