ajkh88 commented on code in PR #7563:
URL: https://github.com/apache/hbase/pull/7563#discussion_r2665099300
##########
hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java:
##########
@@ -4251,6 +4251,54 @@ protected String getDescription() {
}
+ /**
+ * Reopen regions provided in the argument. Applies throttling to the
procedure to avoid
+ * overwhelming the system. This is used by the reopenTableRegions methods
in the Admin API via
+ * HMaster.
+ * @param tableName The current table name
+ * @param regionNames The region names of the regions to reopen
+ * @param nonceGroup Identifier for the source of the request, a client or
process
+ * @param nonce A unique identifier for this operation from the client
or process identified
+ * by <code>nonceGroup</code> (the source must ensure
each operation gets a
+ * unique id).
+ * @return procedure Id
+ * @throws IOException if reopening region fails while running procedure
+ */
+ long reopenRegionsThrottled(final TableName tableName, final List<byte[]>
regionNames,
Review Comment:
Opened a ticket here: https://issues.apache.org/jira/browse/HBASE-29809
--
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]