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

tanxinyu pushed a commit to branch multi_leader_memory_pendingBatch_control
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to 
refs/heads/multi_leader_memory_pendingBatch_control by this push:
     new 03f500d64a adjust maxSizePerBatch from 4M to 16M
03f500d64a is described below

commit 03f500d64a38468d7fb1b643ff88daacad900fe9
Author: OneSizeFitQuorum <[email protected]>
AuthorDate: Tue Nov 15 15:30:52 2022 +0800

    adjust maxSizePerBatch from 4M to 16M
    
    Signed-off-by: OneSizeFitQuorum <[email protected]>
---
 .../main/java/org/apache/iotdb/consensus/config/MultiLeaderConfig.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/consensus/src/main/java/org/apache/iotdb/consensus/config/MultiLeaderConfig.java
 
b/consensus/src/main/java/org/apache/iotdb/consensus/config/MultiLeaderConfig.java
index eef11bfaae..af5a340e9b 100644
--- 
a/consensus/src/main/java/org/apache/iotdb/consensus/config/MultiLeaderConfig.java
+++ 
b/consensus/src/main/java/org/apache/iotdb/consensus/config/MultiLeaderConfig.java
@@ -287,7 +287,7 @@ public class MultiLeaderConfig {
     public static class Builder {
 
       private int maxRequestNumPerBatch = 30;
-      private int maxSizePerBatch = 4 * 1024 * 1024;
+      private int maxSizePerBatch = 16 * 1024 * 1024;
       // (IMPORTANT) Value of this variable should be the same with 
MAX_REQUEST_CACHE_SIZE
       // in DataRegionStateMachine
       private int maxPendingBatch = 5;

Reply via email to