Caideyipi opened a new pull request, #17870: URL: https://github.com/apache/iotdb/pull/17870
### Description - Add FileChannel readFully helpers and use readFully/DataInputStream.readFully for fixed-length deserialization paths. - Handle EOF explicitly for one-byte enum/category deserialization. - Add regression tests for short reads and truncated payloads. ### Verification - .\\mvnw.cmd -pl iotdb-core/node-commons -Dtest=IOUtilsTest test - .\\mvnw.cmd -pl iotdb-core/node-commons,iotdb-core/calc-commons,iotdb-core/confignode,iotdb-core/datanode spotless:apply - git diff --check - Static grep audit found no remaining obvious same-pattern values()[stream.read()] or fixed-length read comparison cases outside excluded areas. Datanode focused tests were attempted, but local Windows verification was blocked by page-file/native-memory failures and existing datanode generated-source compilation issues unrelated to this patch. -- 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]
