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:
zbq.dean 2019-09-20 17:28:43 +08:00 committed by Reid Chan
parent 1aee5f0552
commit 5848e149f4
1 changed files with 1 additions and 0 deletions

View File

@ -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());
}
}