Skip to content

Commit

Permalink
HBASE-23056 Block count is 0 when BucketCache using persistent IOEngi…
Browse files Browse the repository at this point in the history
…ne and retrieve from file

Signed-off-by: Reid Chan <[email protected]>
  • Loading branch information
ZhaoBQ authored and Reidddddd committed Oct 12, 2019
1 parent 558d835 commit 4a0442d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1120,6 +1120,7 @@ private void retrieveFromFile(int[] bucketSizes) throws IOException,
bucketAllocator = allocator;
deserialiserMap = deserMap;
backingMap = backingMapFromFile;
blockNumber.set(backingMap.size());
} finally {
if (ois != null) {
ois.close();
Expand Down

0 comments on commit 4a0442d

Please sign in to comment.