This is an automated email from the ASF dual-hosted git repository. reidchan pushed a commit to branch branch-1.4 in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-1.4 by this push: new a7fff50 HBASE-23056 Block count is 0 when BucketCache using persistent IOEngine and retrieve from file a7fff50 is described below commit a7fff5043a233ce649b8707059be906f9344b9a3 Author: zbq.dean <zbq.d...@gmail.com> AuthorDate: Fri Sep 20 17:31:13 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 5c241f4..40d6602 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 @@ -1120,6 +1120,7 @@ public class BucketCache implements BlockCache, HeapSize { bucketAllocator = allocator; deserialiserMap = deserMap; backingMap = backingMapFromFile; + blockNumber.set(backingMap.size()); } finally { if (ois != null) { ois.close();