mwkang commented on code in PR #6900:
URL: https://github.com/apache/hbase/pull/6900#discussion_r2041882377


##########
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StoreScanner.java:
##########
@@ -640,6 +648,11 @@ public boolean next(List<? super ExtendedCell> outResult, 
ScannerContext scanner
         scannerContext.setLastPeekedCell(cell);
         topChanged = false;
         ScanQueryMatcher.MatchCode qcode = matcher.match(cell);
+
+        if (hook != null) {

Review Comment:
   @Apache9 
   At first, I couldn’t think of a way, but after giving it some more thought, 
I realized that we could remove the hook by taking a different approach.
   I created a MyKeyValueHeap class that inherits from KeyValueHeap, and 
modified it so that a flush is triggered at a specific point in time.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to