Skip to content

Commit

Permalink
HDDS-10890. Increase default value for hdds.container.ratis.log.appen…
Browse files Browse the repository at this point in the history
…der.queue.num-elements (#6711)
  • Loading branch information
jojochuang authored May 22, 2024
1 parent c1bcdea commit 0176264
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public final class ScmConfigKeys {
HDDS_CONTAINER_RATIS_LOG_APPENDER_QUEUE_NUM_ELEMENTS =
"hdds.container.ratis.log.appender.queue.num-elements";
public static final int
HDDS_CONTAINER_RATIS_LOG_APPENDER_QUEUE_NUM_ELEMENTS_DEFAULT = 1;
HDDS_CONTAINER_RATIS_LOG_APPENDER_QUEUE_NUM_ELEMENTS_DEFAULT = 1024;
public static final String HDDS_CONTAINER_RATIS_LOG_APPENDER_QUEUE_BYTE_LIMIT =
"hdds.container.ratis.log.appender.queue.byte-limit";
public static final String
Expand Down
5 changes: 2 additions & 3 deletions hadoop-hdds/common/src/main/resources/ozone-default.xml
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,8 @@
</description>
</property>
<property>
<name>hdds.container.ratis.log.appender.queue.num-elements
</name>
<value>1</value>
<name>hdds.container.ratis.log.appender.queue.num-elements</name>
<value>1024</value>
<tag>OZONE, DEBUG, CONTAINER, RATIS</tag>
<description>Limit for number of append entries in ratis leader's
log appender queue.
Expand Down

0 comments on commit 0176264

Please sign in to comment.