Caideyipi opened a new pull request, #18541: URL: https://github.com/apache/iotdb/pull/18541
## Problem\n\nWhen a historical TsFile's .resource file is missing or unreadable, TsFileResource.getDevices() can throw a RuntimeException. The historical pipe source only caught IOException, so the file was skipped and the pipe could remain blocked waiting for historical extraction to complete.\n\n## Solution\n\nTreat runtime failures while reading device metadata the same as I/O failures: log the error and continue extracting the TsFile because it may match the configured pattern.\n\n## Tests\n\n- Manually compiled the changed production and test classes with javac.\n- Ran PipeHistoricalDataRegionTsFileAndDeletionSourceTest: 20 tests passed.\n- Added coverage for a missing .tsfile.resource with FileTimeIndex. -- 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]
