Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions hadoop-hdds/common/src/main/resources/ozone-default.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2183,13 +2183,6 @@
<description>Byte limit for Raft's Log Worker queue.
</description>
</property>
<property>
<name>ozone.om.ratis.server.pending.write.byte-limit</name>
<value>64MB</value>
<tag>OZONE, DEBUG, OM, RATIS</tag>
<description>Maximum byte size of all pending write requests.
</description>
</property>
<property>
<name>ozone.om.ratis.server.pending.write.element-limit</name>
<value>4096</value>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,9 +207,6 @@ public final class OMConfigKeys {
"ozone.om.ratis.server.pending.write.element-limit";
public static final int OZONE_OM_RATIS_PENDING_WRITE_NUM_LIMIT_DEFAULT = 4096;

public static final String OZONE_OM_RATIS_PENDING_WRITE_BYTE_LIMIT = "ozone.om.ratis.server.pending.write.byte-limit";
public static final String OZONE_OM_RATIS_PENDING_WRITE_BYTE_LIMIT_DEFAULT = "64MB";

public static final String OZONE_OM_RATIS_LOG_PURGE_GAP =
"ozone.om.ratis.log.purge.gap";
public static final int OZONE_OM_RATIS_LOG_PURGE_GAP_DEFAULT = 1000000;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -775,9 +775,6 @@ private static void setRaftLogProperties(RaftProperties properties,
// Set the number of maximum cached segments
RaftServerConfigKeys.Log.setSegmentCacheNumMax(properties, 2);

RaftServerConfigKeys.Write.setByteLimit(properties, SizeInBytes.valueOf((long) conf.getStorageSize(
OMConfigKeys.OZONE_OM_RATIS_PENDING_WRITE_BYTE_LIMIT,
OMConfigKeys.OZONE_OM_RATIS_PENDING_WRITE_BYTE_LIMIT_DEFAULT, StorageUnit.BYTES)));
RaftServerConfigKeys.Write.setElementLimit(properties, conf.getInt(
OMConfigKeys.OZONE_OM_RATIS_PENDING_WRITE_ELEMENT_LIMIT,
OMConfigKeys.OZONE_OM_RATIS_PENDING_WRITE_NUM_LIMIT_DEFAULT));
Expand Down