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



##########
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:
       It is initial pause time. I will change the var name to "initPauseTime" 
to avoid confusion, will it be fine?




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


Reply via email to