HorizonNet commented on a change in pull request #1062: HBASE-23705 Add 
CellComparator to HFileContext
URL: https://github.com/apache/hbase/pull/1062#discussion_r368310754
 
 

 ##########
 File path: 
hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileBlock.java
 ##########
 @@ -1827,7 +1827,8 @@ protected HFileBlock 
readBlockDataInternal(FSDataInputStream is, long offset,
 
     @Override
     public void setIncludesMemStoreTS(boolean includesMemstoreTS) {
-      this.fileContext.setIncludesMvcc(includesMemstoreTS);
+      this.fileContext = new HFileContextBuilder(this.fileContext).
+        withIncludesMvcc(includesMemstoreTS).build();
 
 Review comment:
   NIT: Most of the time we use a leading `.`.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to