You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2020/12/16 07:41:47 UTC

[GitHub] [hbase] ramkrish86 commented on a change in pull request #2757: HBASE-25379 Make intial pause time configurable for regionserver while sending reportRegionStateTransition

ramkrish86 commented on a change in pull request #2757:
URL: https://github.com/apache/hbase/pull/2757#discussion_r544077373



##########
File path: hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
##########
@@ -2436,10 +2442,8 @@ public boolean reportRegionStateTransition(final RegionStateTransitionContext co
     final ReportRegionStateTransitionRequest request =
         createReportRegionStateTransitionRequest(context);
 
-    // Time to pause if master says 'please hold'. Make configurable if needed.
-    final long initPauseTime = 1000;
     int tries = 0;
-    long pauseTime;
+    long pauseTime = this.retryPauseTime;

Review comment:
       Is this a retry pause time or init pause time? If it is retry in the config also add that 'retry' in the name of the config. 




----------------------------------------------------------------
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:
users@infra.apache.org