saintstack commented on a change in pull request #941: HBASE-23326 Implement a
ProcedureStore which stores procedures in a H…
URL: https://github.com/apache/hbase/pull/941#discussion_r361021073
##########
File path:
hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureUtil.java
##########
@@ -370,4 +370,17 @@ public static RetryCounter
createRetryCounter(Configuration conf) {
.setMaxSleepTime(maxSleepTimeMs).setBackoffPolicy(new
ExponentialBackoffPolicyWithLimit());
return new RetryCounter(retryConfig);
}
+
+ public static boolean isFinished(ProcedureProtos.Procedure proc) {
Review comment:
Procedure has a bit of static utility. We could put stuff like this there in
a follow-on.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services