jt2594838 opened a new pull request, #18189: URL: https://github.com/apache/iotdb/pull/18189
## Description When a TsFileResource uses FileTimeIndex, getTimeIndex directly deserializes the device time index from the resource file. This avoids calling buildDeviceTimeIndex, whose read lock is unnecessary for this read-only restoration path and may cause lock contention. ## Verification - git diff --check - Attempted: mvn test -pl iotdb-core/datanode -Dtest=TsFileResourceTest -DskipUTs=false - The targeted test was blocked during compilation by pre-existing cross-module dependency errors in unrelated files, including missing TimePartitionProgressIndex and PreDeleteTsTable symbols. This PR has: - [x] been self-reviewed. ##### Key changed/added classes - TsFileResource -- 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]
