Caideyipi opened a new pull request, #19090: URL: https://github.com/apache/iotdb/pull/19090
## Description Backports #19073 (`9463d011e857ca060c8d1c799f803a54fba9c115`) to `dev/1.3`, based on `eda8986d15926bf7669e7b51de73405ec65bf7ea`. The existing fallback iterator could skip an unreadable query task and finish as a successful LOAD, allowing a partially loaded source to be deleted. This change keeps salvaging readable data, reports unrecoverable failures, and retains failed sources for retry. It also resumes each series from its emitted timestamp across repeated chunk groups and propagates metadata traversal failures. The backport preserves the 1.3 TsFile APIs and ports the regression scenarios into the existing LOAD test fixture. Corrupt test sources span time partitions to exercise decoding and query fallback despite the 1.3 local-load fast path. Conversion-log assertions check all DataNodes because scheduling can select another node. ## Validation - `mvn spotless:apply -P with-integration-tests`: passed. - `LoadTreeStatementDataTypeConvertExecutionVisitorTest`: 13 tests passed. - `IoTDBLoadTsFileIT#testDirectoryQueryFallbackRetainsOnlyFailedSources`: passed with both `SimpleIT` (1C1D) and `ClusterIT` (1C3D), including `on-success=none`, `on-success=delete`, source files and sidecar retention, and repair/retry assertions. - `IoTDBLoadTsFileIT#testConcurrentQueryFallbackFailureRetainsSourceForRetry`: passed with both `SimpleIT` (1C1D) and `ClusterIT` (1C3D). Validation used local incremental reactor builds. The complete test suite was not run. -- 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]
