JackieTien97 opened a new pull request, #19278:
URL: https://github.com/apache/iotdb/pull/19278

   ## Description
   
   Port all seven commits from #19269 (`dev/1.3`, through 
`c7003fff631e252ae4f0796ae258124caffcf2a5`) to `master` as one commit.
   
   Oversized time-partition requests now fail before uncompressed serialization 
buffers exceed their limit. Overflow-safe buffer growth, query-deadline checks, 
and atomic pending-memory reservations prevent prolonged analysis and retained 
reservations. Partition-memory failures report their actual stage, and escaping 
failures record SQL/query-ID context without duplicate exception stacks.
   
   ### Adaptations for master
   
   - Preserve RPC buffer memory accounting, temporary large-frame storage, and 
Thrift message-size tracking. Additional tests cover bounded temporary-buffer 
growth and memory reservation after reopening a transport.
   - Apply non-retryable corrupted-frame handling in 
`AbstractConfigNodeClient`, where master now implements ConfigNode RPC retries. 
Transient failures continue to retry.
   - Retain master's `QUERY_EXECUTION_MEMORY_NOT_ENOUGH` status (719) and adapt 
regression tests to the current exception, session, schema-fetcher, and 
transport-close APIs.
   - Add matching English and Chinese diagnostic constants.
   - Select JDK 21 for the coverage job, retaining master's v5 GitHub Actions.
   
   ## Validation
   
   161 targeted unit tests across 16 classes passed on JDK 21 with the Java 17 
target. This includes all 24 new tests from #19269 and two additional 
master-specific regressions. Spotless, Checkstyle, locale-key parity, and new 
format-specifier checks passed.
   
   ```sh
   mvn test -pl iotdb-core/datanode -am \
     
-Dtest=AutoResizingBufferTest,TElasticFramedTransportTest,DeepCopyRpcTransportFactoryTest,RpcUtilsTest,UrlUtilsTest,TSStatusCodeTest,AbstractConfigNodeClientTest,AbstractConfigNodeClientConnectionTest,QueryTimePartitionTest,QueryPartitionMemoryTest,AnalyzeTest,QueryExecutionRetryTest,MPPQueryContextTest,LocalExecutionPlannerOperatorsMemoryTest,ConfigNodeClientTest,TemplatedAnalyzeRetryTest
 \
     -Dsurefire.failIfNoSpecifiedTests=false -DfailIfNoTests=false
   mvn test-compile -DskipTests
   mvn test-compile -DskipTests -P with-zh-locale
   ```
   
   Both full-reactor compilation commands passed for all 50 modules.
   
   - [x] Self-reviewed.
   - [x] Ported regression tests and added coverage for master-specific buffer 
behavior.
   
   


-- 
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]

Reply via email to