You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Jialin Qiao (Jira)" <ji...@apache.org> on 2022/02/24 06:57:00 UTC
[jira] [Created] (IOTDB-2601) The default value of thrift_max_frame_size does not take effect
Jialin Qiao created IOTDB-2601:
----------------------------------
Summary: The default value of thrift_max_frame_size does not take effect
Key: IOTDB-2601
URL: https://issues.apache.org/jira/browse/IOTDB-2601
Project: Apache IoTDB
Issue Type: Bug
Affects Versions: 0.13.0-SNAPSHOT
Reporter: Jialin Qiao
Assignee: Jialin Qiao
The default value of thrift_max_frame_size in iotdb-engine.properties is 536870912,
However, when send a large request with 196350553 bytes, I still got an exception, which indicates that the default max size is 67108864:
```
2022-02-24 14:42:29,382 [pool-18-IoTDB-RPC-Client-8] ERROR o.a.t.s.TThreadPoolServer$WorkerProcess:258 - Thrift Error occurred during processing of message.
org.apache.thrift.transport.TTransportException: Frame size (196350553) larger than protect max size (67108864)!
at org.apache.iotdb.rpc.TElasticFramedTransport.readFrame(TElasticFramedTransport.java:123)
at org.apache.iotdb.rpc.TElasticFramedTransport.read(TElasticFramedTransport.java:107)
at org.apache.thrift.transport.TTransport.readAll(TTransport.java:109)
at org.apache.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:463)
at org.apache.thrift.protocol.TBinaryProtocol.readI32(TBinaryProtocol.java:361)
at org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:244)
at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:27)
at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:248)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
```
--
This message was sent by Atlassian Jira
(v8.20.1#820001)