jt2594838 opened a new pull request, #18155: URL: https://github.com/apache/iotdb/pull/18155
## Description This PR fixes TsFileResource serialization when the in-memory TimeIndex has been degraded to FileTimeIndex. When a resource file already exists, serialization now preserves the device-level time index stored in the resource file instead of serializing only the degraded in-memory FileTimeIndex. FileTimeIndex serialization/deserialization is also supported for cases where no device-level resource exists. ## Tests - mvn test -pl iotdb-core/datanode -Dtest=TsFileResourceTest - mvn verify -DskipUTs '-Dit.test=IoTDBRegionMigrateNormalITForIoTV2BatchIT#migrateRegionWithDegradedTimeIndexTest' -DfailIfNoTests=false '-Dfailsafe.failIfNoSpecifiedTests=false' '-Drat.skip=true' -pl integration-test -am -P with-integration-tests -PClusterIT -- 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]
