ramkrish86 commented on a change in pull request #909: HBASE-23355 Bypass the 
prefetch operation if HFiles are generated through flush or compaction
URL: https://github.com/apache/hbase/pull/909#discussion_r355114821
 
 

 ##########
 File path: 
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StoreFileInfo.java
 ##########
 @@ -107,6 +107,8 @@
 
   private RegionCoprocessorHost coprocessorHost;
 
+  private boolean prefetchOnOpen = false;
 
 Review comment:
   The trick is here. By default it will be false and only for region open and 
the bulk load  you will make it true. Good. LGTM.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to