This is an automated email from the ASF dual-hosted git repository.

adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git


The following commit(s) were added to refs/heads/master by this push:
     new 6db557e8687 HDDS-13686. Remove duplicate config 
`ozone.om.ratis.server.pending.write.byte-limit` (#9177)
6db557e8687 is described below

commit 6db557e868723bca8e8be091b95486723487d88d
Author: Michael Chu <[email protected]>
AuthorDate: Tue Oct 21 03:28:46 2025 +0800

    HDDS-13686. Remove duplicate config 
`ozone.om.ratis.server.pending.write.byte-limit` (#9177)
---
 hadoop-hdds/common/src/main/resources/ozone-default.xml            | 7 -------
 .../src/main/java/org/apache/hadoop/ozone/om/OMConfigKeys.java     | 3 ---
 .../org/apache/hadoop/ozone/om/ratis/OzoneManagerRatisServer.java  | 3 ---
 3 files changed, 13 deletions(-)

diff --git a/hadoop-hdds/common/src/main/resources/ozone-default.xml 
b/hadoop-hdds/common/src/main/resources/ozone-default.xml
index 462b1e4331f..a6c8d61fff9 100644
--- a/hadoop-hdds/common/src/main/resources/ozone-default.xml
+++ b/hadoop-hdds/common/src/main/resources/ozone-default.xml
@@ -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>
diff --git 
a/hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/OMConfigKeys.java
 
b/hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/OMConfigKeys.java
index 254a49ea9a9..0828be91ed4 100644
--- 
a/hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/OMConfigKeys.java
+++ 
b/hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/OMConfigKeys.java
@@ -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;
diff --git 
a/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/ratis/OzoneManagerRatisServer.java
 
b/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/ratis/OzoneManagerRatisServer.java
index 87134c82cab..e3beae915d8 100644
--- 
a/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/ratis/OzoneManagerRatisServer.java
+++ 
b/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/ratis/OzoneManagerRatisServer.java
@@ -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));


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to