This is an automated email from the ASF dual-hosted git repository. reidchan pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/master by this push: new 5848e14 HBASE-23056 Block count is 0 when BucketCache using persistent IOEngine and retrieve from file 5848e14 is described below commit 5848e149f43c2b176baa25c0fa14744a88c9c217 Author: zbq.dean <zbq.d...@gmail.com> AuthorDate: Fri Sep 20 17:28:43 2019 +0800 HBASE-23056 Block count is 0 when BucketCache using persistent IOEngine and retrieve from file Signed-off-by: Reid Chan <reidc...@apache.org> --- .../main/java/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.java | 1 + 1 file changed, 1 insertion(+) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.java index 7d8f582..790b93d 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.java @@ -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()); } }