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

   ## Problem
   When tree-model Load falls back from scan parsing to query parsing, a parser 
exception can occur after earlier Tablets have been converted but before the 
pending batch reaches its normal flush boundary. The exception path released 
the conversion context and discarded that batch.
   
   ## Fix
   Flush pending Tablets before returning a normal parser error. 
Temporary-unavailable results retain the pending batch and original parser 
status for the next managed-task retry; memory-pressure and interruption 
exceptions keep their existing retry behavior.
   
   ## Tests
   - `mvn -pl iotdb-core/datanode -am test 
-Dtest=LoadTreeStatementDataTypeConvertExecutionVisitorTest 
-Dsurefire.failIfNoSpecifiedTests=false -DfailIfNoTests=false -DskipITs`
   - Spotless check
   - Checkstyle: 0 violations
   
   The separate exact-query versus wildcard-query observation is intentionally 
out of scope.


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