Skip to content

Commit

Permalink
HDDS-11375. DN startup fails due to illegal configuration of raft.grp…
Browse files Browse the repository at this point in the history
…c.message.size.max (apache#7128)

(cherry picked from commit 5659b7e)
  • Loading branch information
jojochuang authored and xichen01 committed Sep 28, 2024
1 parent 2d30bba commit efcf80b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,23 +31,6 @@
@ConfigGroup(prefix = HDDS_DATANODE_RATIS_PREFIX_KEY + "."
+ GrpcConfigKeys.PREFIX)
public class DatanodeRatisGrpcConfig {
@Config(key = "message.size.max",
defaultValue = "32MB",
type = ConfigType.SIZE,
tags = {OZONE, CLIENT, PERFORMANCE},
description = "Maximum message size allowed to be received by Grpc " +
"Channel (Server)."
)
private int maximumMessageSize = 32 * 1024 * 1024;

public int getMaximumMessageSize() {
return maximumMessageSize;
}

public void setMaximumMessageSize(int maximumMessageSize) {
this.maximumMessageSize = maximumMessageSize;
}

@Config(key = "flow.control.window",
defaultValue = "5MB",
type = ConfigType.SIZE,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<property>
<name>hdds.container.ratis.log.appender.queue.byte-limit
</name>
<value>8MB</value>
<value>32MB</value>
</property>
<property>
<name>ozone.om.ratis.log.appender.queue.byte-limit</name>
Expand Down

0 comments on commit efcf80b

Please sign in to comment.