You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by qi...@apache.org on 2022/02/24 07:00:05 UTC

[iotdb] 01/01: fix default max_thrift_frame_size to 512M

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

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

commit a591fe2c5cdf73ee1798d82455c5fa3524df830a
Author: qiaojialin <64...@qq.com>
AuthorDate: Thu Feb 24 14:59:04 2022 +0800

    fix default max_thrift_frame_size to 512M
---
 docs/UserGuide/Reference/Config-Manual.md                      | 2 +-
 server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/UserGuide/Reference/Config-Manual.md b/docs/UserGuide/Reference/Config-Manual.md
index 77bb26e..b3b1154 100644
--- a/docs/UserGuide/Reference/Config-Manual.md
+++ b/docs/UserGuide/Reference/Config-Manual.md
@@ -697,7 +697,7 @@ The permission definitions are in ${IOTDB\_CONF}/conf/jmx.access.
 |:---:|:---|
 |Description| the max bytes in a RPC request/response|
 |Type| long |
-|Default| 67108864 (should >= 8 * 1024 * 1024) |
+|Default| 536870912 (should >= 512 * 1024 * 1024) |
 |Effective|After restarting system|
 
 ### InfluxDB-Protocol Adaptor
diff --git a/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java b/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java
index b6b23a8..b6c1da9 100644
--- a/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java
+++ b/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java
@@ -751,7 +751,7 @@ public class IoTDBConfig {
   private long startUpNanosecond = System.nanoTime();
 
   /** Unit: byte */
-  private int thriftMaxFrameSize = 67108864;
+  private int thriftMaxFrameSize = 536870912;
 
   private int thriftDefaultBufferSize = RpcUtils.THRIFT_DEFAULT_BUF_CAPACITY;