Skip to content

Fix downgraded TsFileResource serialization#18155

Merged
jt2594838 merged 2 commits into
masterfrom
fix_serialization_of_downgraded_resource
Jul 9, 2026
Merged

Fix downgraded TsFileResource serialization#18155
jt2594838 merged 2 commits into
masterfrom
fix_serialization_of_downgraded_resource

Revert FileIndex serialization

99ee9a2
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jul 8, 2026 in 2m 34s

Annotations

Check warning on line 737 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/tsfile/TsFileResource.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

All overloaded methods should be placed next to each other. Placing non-overloaded methods in between overloaded methods with the same type is a violation. Previous overloaded method located at line '701'.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ9BUG0sjrK77bPwl7iN&open=AZ9BUG0sjrK77bPwl7iN&pullRequest=18155

Check warning on line 707 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/tsfile/TsFileResource.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof ArrayDeviceTimeIndex arraydevicetimeindex'

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ9BUG0sjrK77bPwl7iM&open=AZ9BUG0sjrK77bPwl7iM&pullRequest=18155