HBASE-23056 Block count is 0 when BucketCache using persistent IOEngine and retrieve from file
Signed-off-by: Reid Chan <reidchan@apache.org>
This commit is contained in:
parent
1aee5f0552
commit
5848e149f4
|
@ -1094,6 +1094,7 @@ public class BucketCache implements BlockCache, HeapSize {
|
|||
}
|
||||
parsePB(BucketCacheProtos.BucketCacheEntry.parseDelimitedFrom(in));
|
||||
bucketAllocator = new BucketAllocator(cacheCapacity, bucketSizes, backingMap, realCacheSize);
|
||||
blockNumber.add(backingMap.size());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue