HDDS-1719 : Increase ratis log segment size to 1MB. (#1005)

* HDDS-1719 : Increase ratis log segment size to 1MB.

* HDDS-1719 : Increase ratis log segment size to 1MB.
This commit is contained in:
avijayanhwx 2019-06-24 08:57:08 -07:00 committed by Anu Engineer
parent 05145404d5
commit 81d2f1b724
2 changed files with 3 additions and 3 deletions

View File

@ -74,7 +74,7 @@ public final class ScmConfigKeys {
public static final String DFS_CONTAINER_RATIS_SEGMENT_SIZE_KEY = public static final String DFS_CONTAINER_RATIS_SEGMENT_SIZE_KEY =
"dfs.container.ratis.segment.size"; "dfs.container.ratis.segment.size";
public static final String DFS_CONTAINER_RATIS_SEGMENT_SIZE_DEFAULT = public static final String DFS_CONTAINER_RATIS_SEGMENT_SIZE_DEFAULT =
"16KB"; "1MB";
public static final String DFS_CONTAINER_RATIS_SEGMENT_PREALLOCATED_SIZE_KEY = public static final String DFS_CONTAINER_RATIS_SEGMENT_PREALLOCATED_SIZE_KEY =
"dfs.container.ratis.segment.preallocated.size"; "dfs.container.ratis.segment.preallocated.size";
public static final String public static final String

View File

@ -205,10 +205,10 @@
</property> </property>
<property> <property>
<name>dfs.container.ratis.segment.size</name> <name>dfs.container.ratis.segment.size</name>
<value>16KB</value> <value>1MB</value>
<tag>OZONE, RATIS, PERFORMANCE</tag> <tag>OZONE, RATIS, PERFORMANCE</tag>
<description>The size of the raft segment used by Apache Ratis on datanodes. <description>The size of the raft segment used by Apache Ratis on datanodes.
(16 KB by default) (1 MB by default)
</description> </description>
</property> </property>
<property> <property>