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

   ## Description
   
   After a cluster restart, automatic LOAD can encounter 
`NO_AVAILABLE_REGION_GROUP` (906) while SchemaRegion groups recover. Schema 
verification wraps the exception and drops its status, so LOAD returns 
`LOAD_FILE_ERROR` (1100) and moves a valid TsFile to the failed directory.
   
   Preserve the region-unavailable status through tree schema verification and 
translate it to `LOAD_TEMPORARY_UNAVAILABLE_EXCEPTION` (1110) in LOAD analysis. 
The existing automatic loader can then retain the file and retry. Permanent 
schema errors keep their existing behavior.
   
   Exposed by [the active-scan restart CI 
failure](https://github.com/apache/iotdb/actions/runs/41435813220/job/125245183215?pr=19087).
   
   ## Validation
   
   - The schema-flush regression fails on the unpatched base with 1100 instead 
of 1110.
   - All 8 diagnostics tests and 10 existing active-load unit tests passed.
   - Both methods in `IoTDBLoadTsFileActiveScanIT` passed with 1 ConfigNode and 
3 DataNodes: 0 failures, 0 errors, 0 skipped.
   - Spotless passed. A clean JDK 17 reactor build rebuilt the required IoTDB 
dependencies and test-node templates with the build cache disabled.
   


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