HDDS-1959. Decrement purge interval for Ratis logs in datanode (#1301)

This commit is contained in:
HUAN-PING SU 2019-08-17 19:24:33 +08:00 committed by Lokesh Jain
parent 0e0ddfaf24
commit 02015e3ed8
2 changed files with 2 additions and 2 deletions

View File

@ -119,7 +119,7 @@ public final class ScmConfigKeys {
"dfs.container.ratis.log.purge.gap"; "dfs.container.ratis.log.purge.gap";
// TODO: Set to 1024 once RATIS issue around purge is fixed. // TODO: Set to 1024 once RATIS issue around purge is fixed.
public static final int DFS_CONTAINER_RATIS_LOG_PURGE_GAP_DEFAULT = public static final int DFS_CONTAINER_RATIS_LOG_PURGE_GAP_DEFAULT =
1000000000; 1000000;
// expiry interval stateMachineData cache entry inside containerStateMachine // expiry interval stateMachineData cache entry inside containerStateMachine
public static final String public static final String
DFS_CONTAINER_RATIS_STATEMACHINEDATA_CACHE_EXPIRY_INTERVAL = DFS_CONTAINER_RATIS_STATEMACHINEDATA_CACHE_EXPIRY_INTERVAL =

View File

@ -106,7 +106,7 @@
</property> </property>
<property> <property>
<name>dfs.container.ratis.log.purge.gap</name> <name>dfs.container.ratis.log.purge.gap</name>
<value>1000000000</value> <value>1000000</value>
<tag>OZONE, DEBUG, CONTAINER, RATIS</tag> <tag>OZONE, DEBUG, CONTAINER, RATIS</tag>
<description>Purge gap between the last purged commit index <description>Purge gap between the last purged commit index
and the current index, when the leader decides to purge its log. and the current index, when the leader decides to purge its log.