Caideyipi opened a new pull request, #18254: URL: https://github.com/apache/iotdb/pull/18254
## Description ### Use buffered input for Pipe TsFile scanning - Upgrade TsFile to `2.3.2-260720-SNAPSHOT`, which includes [`BufferedTsFileInput`](https://github.com/apache/tsfile/pull/868). - Use `BufferedTsFileInput` for the no-modification path of `TsFileInsertionEventScanParser`, where the reader performs small sequential reads. - Keep the existing metadata-loading and device-metadata-cache behavior when modifications are present. ### Preserve old TsFile compatibility The `TsFileInput`-based `TsFileSequenceReader` constructor does not initialize the compatibility deserializer. The parser therefore checks the file version before transferring ownership of the buffered input and falls back to the original String-based constructor for older TsFile versions. ### Validation - `mvn spotless:check -pl iotdb-core/datanode` - `mvn checkstyle:check -pl iotdb-core/datanode` - `mvn dependency:tree -pl iotdb-core/datanode -Dincludes=org.apache.tsfile:* -Dverbose` - DataNode javac reached all main sources without errors in the changed file; the module remains blocked by unrelated stale generated/i18n/Thrift symbols in the local workspace. <hr> This PR has: - [x] been self-reviewed. - [x] added or updated version, __license__, or notice information - [x] added comments explaining the why and the intent of the code wherever it would not be obvious for an unfamiliar reader. <hr> ##### Key changed/added classes (or packages if there are too many classes) in this PR - `TsFileInsertionEventScanParser` - Root `pom.xml` -- 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]
