GeorryHuang commented on a change in pull request #4182:
URL: https://github.com/apache/hbase/pull/4182#discussion_r823406369
##########
File path:
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
##########
@@ -2235,6 +2235,17 @@ private void triggerFlushInPrimaryRegion(final HRegion
region) {
return;
}
+ if (!region.getTableDescriptor().hasRegionMemStoreReplication()
Review comment:
If our code logic reaches here, the value of 'WaitForPrimaryFlush' is
always true, right? So we could only need to check
`hasRegionMemStoreReplication`?
--
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]