File tree Expand file tree Collapse file tree
hbase-server/src/main/java/org/apache/hadoop/hbase/master/region Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -171,10 +171,14 @@ public void update(UpdateMasterRegion action) throws IOException {
171171 // for few times before aborting the active master. The master region might
172172 // have genuine case for delayed flushes and/or some procedure bug causing
173173 // heavy pressure on the memstore.
174+ flusherAndCompactor .onUpdate ();
174175 if (tries == (maxRetriesForRegionUpdates - 1 )) {
175176 abortServer (e );
176177 }
177178 LOG .info ("Master region {} is too busy... retry attempt: {}" , region , tries );
179+ // Exponential backoff is performed by ConnectionUtils.getPauseTime().
180+ // It uses HConstants.RETRY_BACKOFF array for the backoff multiplier, the
181+ // same array is used as backoff multiplier with RPC retries.
178182 Threads .sleep (ConnectionUtils .getPauseTime (regionUpdateRetryPauseTime , tries ));
179183 } catch (IOException e ) {
180184 // We catch IOException here to ensure that if the mutation is not successful
You can’t perform that action at this time.
0 commit comments