virajjasani commented on code in PR #6462:
URL: https://github.com/apache/hbase/pull/6462#discussion_r1845347100


##########
hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/RSProcedureDispatcher.java:
##########
@@ -249,6 +249,20 @@ protected class ExecuteProceduresRemoteCall implements 
RemoteProcedureResolver,
       "hbase.regionserver.rpc.retry.interval";
     private static final int DEFAULT_RS_RPC_RETRY_INTERVAL = 100;
 
+    /**
+     * Config to determine the retry limit while executing remote regionserver 
procedure. This retry
+     * limit applies to only specific errors. These errors could potentially 
get the remote
+     * procedure stuck for several minutes unless the retry limit is applied.
+     */
+    private static final String RS_REMOTE_PROC_RETRY_LIMIT =
+      "hbase.master.rs.remote.proc.retry.limit";
+    /**
+     * The default retry limit. Value = {@value}
+     */
+    private static final int DEFAULT_RS_REMOTE_PROC_RETRY_LIMIT = 5;

Review Comment:
   Done.



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