vaijosh commented on code in PR #5462:
URL: https://github.com/apache/hbase/pull/5462#discussion_r1363739289
##########
hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java:
##########
@@ -2275,6 +2275,29 @@ protected String getDescription() {
});
}
+ @Override
+ public long truncateRegion(final RegionInfo regionInfo, final long
nonceGroup, final long nonce)
Review Comment:
1.Added the pre/post hooks.
2.truncateRegion and truncateTable looks similar because they following the
pattern preHook->submitProcedure->postHook. But internally the workflow is
different. There are other methods like deleteTable also similar. We could add
--
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]