HTHou opened a new pull request, #18631: URL: https://github.com/apache/iotdb/pull/18631
## Purpose Add an explicit upper bound for the number of elements decoded from Thrift containers on server-side RPC connections. ## Changes - Add the `thrift_container_length_limit` configuration with a default of 100000. - Apply the configured limit to both binary and compact Thrift protocol factories. - Keep string and binary length handling unchanged. - Normalize non-positive configured values back to the secure default. - Add regression coverage for both protocol encodings. ## Compatibility The new limit applies to container element counts only. Deployments that require larger containers can tune the restart-time configuration parameter. ## Tests - `mvn -o test -pl iotdb-core/node-commons -am -Dtest=AbstractThriftServiceThreadTest -DfailIfNoTests=false -Dsurefire.failIfNoSpecifiedTests=false` - `mvn -o test-compile -pl iotdb-core/node-commons -am -P with-zh-locale -DskipTests` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
