Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-2601

The default value of thrift_max_frame_size does not take effect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.13.0-SNAPSHOT
    • 0.13.0
    • None

    Description

      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)

      ```

       

       

      Attachments

        Issue Links

          Activity

            People

              qiaojialin Jialin Qiao
              qiaojialin Jialin Qiao
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: