diff --git a/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/scm/ScmConfigKeys.java b/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/scm/ScmConfigKeys.java index 55e0c53944..9c93a63b17 100644 --- a/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/scm/ScmConfigKeys.java +++ b/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/scm/ScmConfigKeys.java @@ -119,7 +119,7 @@ public final class ScmConfigKeys { "dfs.container.ratis.log.purge.gap"; // TODO: Set to 1024 once RATIS issue around purge is fixed. public static final int DFS_CONTAINER_RATIS_LOG_PURGE_GAP_DEFAULT = - 1000000000; + 1000000; // expiry interval stateMachineData cache entry inside containerStateMachine public static final String DFS_CONTAINER_RATIS_STATEMACHINEDATA_CACHE_EXPIRY_INTERVAL = diff --git a/hadoop-hdds/common/src/main/resources/ozone-default.xml b/hadoop-hdds/common/src/main/resources/ozone-default.xml index d9440d7e30..f7334b166b 100644 --- a/hadoop-hdds/common/src/main/resources/ozone-default.xml +++ b/hadoop-hdds/common/src/main/resources/ozone-default.xml @@ -106,7 +106,7 @@ dfs.container.ratis.log.purge.gap - 1000000000 + 1000000 OZONE, DEBUG, CONTAINER, RATIS Purge gap between the last purged commit index and the current index, when the leader decides to purge its log.