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:04 UTC
[iotdb] branch fix_default_frame_size created (now a591fe2)
This is an automated email from the ASF dual-hosted git repository.
qiaojialin pushed a change to branch fix_default_frame_size
in repository https://gitbox.apache.org/repos/asf/iotdb.git.
at a591fe2 fix default max_thrift_frame_size to 512M
This branch includes the following new commits:
new a591fe2 fix default max_thrift_frame_size to 512M
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[iotdb] 01/01: fix default max_thrift_frame_size to 512M
Posted by qi...@apache.org.
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;