You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by "Caideyipi (via GitHub)" <gi...@apache.org> on 2026/08/28 10:58:56 UTC
[PR] Fix pipe historical extraction when device metadata is unavailable [iotdb]
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: reviews-unsubscribe@iotdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix pipe historical extraction when device metadata is unavailable [iotdb]
Posted by "jt2594838 (via GitHub)" <gi...@apache.org>.
jt2594838 merged PR #18541:
URL: https://github.com/apache/iotdb/pull/18541
--
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: reviews-unsubscribe@iotdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org