From 69db293328b740399c0d3eafba620e76da066a8c Mon Sep 17 00:00:00 2001 From: Wellington Chevreuil Date: Mon, 9 Jan 2023 15:21:45 +0000 Subject: [PATCH] Added comments to the two new config properties Change-Id: I58eba4f382974f73167fc8cd2bf1bb4f3d5be0a9 --- .../hbase/master/assignment/TransitRegionStateProcedure.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/TransitRegionStateProcedure.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/TransitRegionStateProcedure.java index 65431db3561a..51f4787a8ed9 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/TransitRegionStateProcedure.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/TransitRegionStateProcedure.java @@ -112,9 +112,12 @@ public class TransitRegionStateProcedure public static final boolean DEFAULT_FORCE_REGION_RETAINMENT = false; + /** The wait time in millis before checking again if the region's previous RS is back online*/ public static final String FORCE_REGION_RETAINMENT_WAIT = "hbase.master.scp.retain.assignment.force.wait"; + /** The number of times to check if the region's previous RS is back online, before giving up + * and proceeding with assignment on a new RS*/ public static final long DEFAULT_FORCE_REGION_RETAINMENT_WAIT = 500; public static final String FORCE_REGION_RETAINMENT_RETRIES =