Skip to content

rollback

fd7b775
Select commit
Loading
Failed to load commit list.
Draft

Load: Harden LOAD TSFILE authorization and source path validation #17624

rollback
fd7b775
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded May 9, 2026 in 2m 43s

Annotations

Check warning on line 172 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/scheduler/load/LoadTsFileScheduler.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 130 to 64, Complexity from 15 to 14, Nesting Level from 5 to 2, Number of Variables from 18 to 6.

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

Check failure on line 2460 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/conf/IoTDBDescriptor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "load_tsfile_allowed_dirs" 3 times.

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