Skip to content

Commit f21e1ba

Browse files
authored
fix dn_thrift_max_frame_size default value (#1048)
1 parent 0da8ed8 commit f21e1ba

16 files changed

+96
-100
lines changed

src/UserGuide/Master/Table/Reference/System-Config-Manual_apache.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -662,12 +662,12 @@ The `iotdb-system.properties` file contains various configurations for managing
662662

663663
- dn_thrift_max_frame_size
664664

665-
| Name | dn_thrift_max_frame_size |
666-
| ----------- |------------------------------------------------|
667-
| Description | Maximum frame size for RPC requests/responses. |
668-
| Type | long |
669-
| Default | 536870912 (Default 512MB) |
670-
| Effective | Restart required. |
665+
| Name | dn_thrift_max_frame_size |
666+
| ----------- |--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
667+
| Description | Maximum frame size for RPC requests/responses. |
668+
| Type | int |
669+
| Default | Defaults to 0, which means the value is automatically calculated based on the DN JVM configuration parameters at startup:<br>a. min(64MB, dn_alloc_memory/64)<br>b. If the user manually configures `dn_thrift_max_frame_size`, the user-specified value will be used instead. |
670+
| Effective | Restart required. |
671671

672672
- dn_thrift_init_buffer_size
673673

src/UserGuide/Master/Table/Reference/System-Config-Manual_timecho.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -663,12 +663,12 @@ The `iotdb-system.properties` file contains various configurations for managing
663663

664664
- dn_thrift_max_frame_size
665665

666-
| Name | dn_thrift_max_frame_size |
667-
| ----------- |------------------------------------------------|
668-
| Description | Maximum frame size for RPC requests/responses. |
669-
| Type | long |
670-
| Default | 536870912 (Default 512MB) |
671-
| Effective | Restart required. |
666+
| Name | dn_thrift_max_frame_size |
667+
| ----------- |--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
668+
| Description | Maximum frame size for RPC requests/responses. |
669+
| Type | int |
670+
| Default | Defaults to 0, which means the value is automatically calculated based on the DN JVM configuration parameters at startup:<br>a. min(64MB, dn_alloc_memory/64)<br>b. If the user manually configures `dn_thrift_max_frame_size`, the user-specified value will be used instead. |
671+
| Effective | Restart required. |
672672

673673
- dn_thrift_init_buffer_size
674674

src/UserGuide/Master/Tree/Reference/DataNode-Config-Manual_apache.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -276,13 +276,12 @@ The permission definitions are in ${IOTDB\_CONF}/conf/jmx.access.
276276

277277
* dn\_thrift\_max\_frame\_size
278278

279-
|Name| dn\_thrift\_max\_frame\_size |
280-
|:---:|:---|
281-
|Description| Max size of bytes of each thrift RPC request/response|
282-
|Type| Long |
283-
|Unit|Byte|
284-
|Default| 536870912 |
285-
|Effective|After restarting system|
279+
|Name| dn\_thrift\_max\_frame\_size |
280+
|:---:|:------------------------------------------------------|
281+
|Description| Max size of bytes of each thrift RPC request/response |
282+
|Type| int |
283+
| Default | Defaults to 0, which means the value is automatically calculated based on the DN JVM configuration parameters at startup:<br>a. min(64MB, dn_alloc_memory/64)<br>b. If the user manually configures `dn_thrift_max_frame_size`, the user-specified value will be used instead. |
284+
|Effective| After restarting system |
286285

287286
* dn\_thrift\_init\_buffer\_size
288287

src/UserGuide/Master/Tree/Reference/DataNode-Config-Manual_timecho.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -276,13 +276,12 @@ The permission definitions are in ${IOTDB\_CONF}/conf/jmx.access.
276276

277277
* dn\_thrift\_max\_frame\_size
278278

279-
|Name| dn\_thrift\_max\_frame\_size |
280-
|:---:|:---|
281-
|Description| Max size of bytes of each thrift RPC request/response|
282-
|Type| Long |
283-
|Unit|Byte|
284-
|Default| 536870912 |
285-
|Effective|After restarting system|
279+
|Name| dn\_thrift\_max\_frame\_size |
280+
|:---:|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
281+
|Description| Max size of bytes of each thrift RPC request/response |
282+
|Type| int |
283+
| Default | Defaults to 0, which means the value is automatically calculated based on the DN JVM configuration parameters at startup:<br>a. min(64MB, dn_alloc_memory/64)<br>b. If the user manually configures `dn_thrift_max_frame_size`, the user-specified value will be used instead. |
284+
|Effective| After restarting system |
286285

287286
* dn\_thrift\_init\_buffer\_size
288287

src/UserGuide/latest-Table/Reference/System-Config-Manual_apache.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -662,12 +662,12 @@ The `iotdb-system.properties` file contains various configurations for managing
662662

663663
- dn_thrift_max_frame_size
664664

665-
| Name | dn_thrift_max_frame_size |
666-
| ----------- |------------------------------------------------|
667-
| Description | Maximum frame size for RPC requests/responses. |
668-
| Type | long |
669-
| Default | 536870912 (Default 512MB) |
670-
| Effective | Restart required. |
665+
| Name | dn_thrift_max_frame_size |
666+
| ----------- |--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
667+
| Description | Maximum frame size for RPC requests/responses. |
668+
| Type | int |
669+
| Default | Defaults to 0, which means the value is automatically calculated based on the DN JVM configuration parameters at startup:<br>a. min(64MB, dn_alloc_memory/64)<br>b. If the user manually configures `dn_thrift_max_frame_size`, the user-specified value will be used instead. |
670+
| Effective | Restart required. |
671671

672672
- dn_thrift_init_buffer_size
673673

src/UserGuide/latest-Table/Reference/System-Config-Manual_timecho.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -663,12 +663,12 @@ The `iotdb-system.properties` file contains various configurations for managing
663663

664664
- dn_thrift_max_frame_size
665665

666-
| Name | dn_thrift_max_frame_size |
667-
| ----------- |------------------------------------------------|
668-
| Description | Maximum frame size for RPC requests/responses. |
669-
| Type | long |
670-
| Default | 536870912 (Default 512MB) |
671-
| Effective | Restart required. |
666+
| Name | dn_thrift_max_frame_size |
667+
| ----------- |--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
668+
| Description | Maximum frame size for RPC requests/responses. |
669+
| Type | int |
670+
| Default | Defaults to 0, which means the value is automatically calculated based on the DN JVM configuration parameters at startup:<br>a. min(64MB, dn_alloc_memory/64)<br>b. If the user manually configures `dn_thrift_max_frame_size`, the user-specified value will be used instead. |
671+
| Effective | Restart required. |
672672

673673
- dn_thrift_init_buffer_size
674674

src/UserGuide/latest/Reference/DataNode-Config-Manual_apache.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -276,13 +276,12 @@ The permission definitions are in ${IOTDB\_CONF}/conf/jmx.access.
276276

277277
* dn\_thrift\_max\_frame\_size
278278

279-
|Name| dn\_thrift\_max\_frame\_size |
280-
|:---:|:---|
281-
|Description| Max size of bytes of each thrift RPC request/response|
282-
|Type| Long |
283-
|Unit|Byte|
284-
|Default| 536870912 |
285-
|Effective|After restarting system|
279+
|Name| dn\_thrift\_max\_frame\_size |
280+
|:---:|:------------------------------------------------------|
281+
|Description| Max size of bytes of each thrift RPC request/response |
282+
|Type| int |
283+
| Default | Defaults to 0, which means the value is automatically calculated based on the DN JVM configuration parameters at startup:<br>a. min(64MB, dn_alloc_memory/64)<br>b. If the user manually configures `dn_thrift_max_frame_size`, the user-specified value will be used instead. |
284+
|Effective| After restarting system |
286285

287286
* dn\_thrift\_init\_buffer\_size
288287

src/UserGuide/latest/Reference/DataNode-Config-Manual_timecho.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -276,13 +276,12 @@ The permission definitions are in ${IOTDB\_CONF}/conf/jmx.access.
276276

277277
* dn\_thrift\_max\_frame\_size
278278

279-
|Name| dn\_thrift\_max\_frame\_size |
280-
|:---:|:---|
281-
|Description| Max size of bytes of each thrift RPC request/response|
282-
|Type| Long |
283-
|Unit|Byte|
284-
|Default| 536870912 |
285-
|Effective|After restarting system|
279+
|Name| dn\_thrift\_max\_frame\_size |
280+
|:---:|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
281+
|Description| Max size of bytes of each thrift RPC request/response |
282+
|Type| int |
283+
| Default | Defaults to 0, which means the value is automatically calculated based on the DN JVM configuration parameters at startup:<br>a. min(64MB, dn_alloc_memory/64)<br>b. If the user manually configures `dn_thrift_max_frame_size`, the user-specified value will be used instead. |
284+
|Effective| After restarting system |
286285

287286
* dn\_thrift\_init\_buffer\_size
288287

src/zh/UserGuide/Master/Table/Reference/System-Config-Manual_apache.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -639,12 +639,12 @@ IoTDB 配置文件位于 IoTDB 安装目录:`conf`文件夹下。
639639

640640
- dn_thrift_max_frame_size
641641

642-
| 名字 | dn_thrift_max_frame_size |
643-
| ------------ | ------------------------------------------------------ |
644-
| 描述 | RPC 请求/响应的最大字节数 |
645-
| 类型 | long |
646-
| 默认值 | 536870912 (默认值512MB) |
647-
| 改后生效方式 | 重启服务生效 |
642+
| 名字 | dn_thrift_max_frame_size |
643+
| ------------ |-------------------------------------------------------------------------------------------------------------------|
644+
| 描述 | RPC 请求/响应的最大字节数 |
645+
| 类型 | int |
646+
|默认值| 默认为0,即根据启动时DNJVM的配置参数自动计算:<br>a. min(64MB, dn_alloc_memory/64) <br>b.若用户手动配置了dn_thrift_max_frame_size,仍然使用用户指定的大小 |
647+
| 改后生效方式 | 重启服务生效 |
648648

649649
- dn_thrift_init_buffer_size
650650

src/zh/UserGuide/Master/Table/Reference/System-Config-Manual_timecho.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -639,12 +639,12 @@ IoTDB 配置文件位于 IoTDB 安装目录:`conf`文件夹下。
639639

640640
- dn_thrift_max_frame_size
641641

642-
| 名字 | dn_thrift_max_frame_size |
643-
| ------------ | ------------------------------------------------------ |
644-
| 描述 | RPC 请求/响应的最大字节数 |
645-
| 类型 | long |
646-
| 默认值 | 536870912 (默认值512MB) |
647-
| 改后生效方式 | 重启服务生效 |
642+
| 名字 | dn_thrift_max_frame_size |
643+
| ------------ |-------------------------------------------------------------------------------------------------------------------|
644+
| 描述 | RPC 请求/响应的最大字节数 |
645+
| 类型 | int |
646+
|默认值| 默认为0,即根据启动时DNJVM的配置参数自动计算:<br>a. min(64MB, dn_alloc_memory/64) <br>b.若用户手动配置了dn_thrift_max_frame_size,仍然使用用户指定的大小 |
647+
| 改后生效方式 | 重启服务生效 |
648648

649649
- dn_thrift_init_buffer_size
650650

0 commit comments

Comments
 (0)