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 08:09:36 UTC
[iotdb] branch master updated: fix default max_thrift_frame_size to 512M (#5112)
This is an automated email from the ASF dual-hosted git repository.
qiaojialin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new 7f2978f fix default max_thrift_frame_size to 512M (#5112)
7f2978f is described below
commit 7f2978f44b83effe49a57f02057492bbbdd02059
Author: Jialin Qiao <qj...@mails.tsinghua.edu.cn>
AuthorDate: Thu Feb 24 16:07:36 2022 +0800
fix default max_thrift_frame_size to 512M (#5112)
---
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;