Apache9 commented on code in PR #4457:
URL: https://github.com/apache/hbase/pull/4457#discussion_r886353048


##########
hbase-server/src/main/java/org/apache/hadoop/hbase/master/region/MasterRegion.java:
##########
@@ -155,7 +158,16 @@ public RegionScanner getRegionScanner(Scan scan) throws 
IOException {
   }
 
   public FlushResult flush(boolean force) throws IOException {
-    return region.flush(force);
+    flusherAndCompactor.resetChangesAfterLastFlush();

Review Comment:
   I mean we have reset logic in MasterRegionFlusherAndCompactor, before 
calling this flush method. Now we move the reset logic into this method, then 
we should remove the reset logic in MasterRegionFlusherAndCompactor?



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