Skip to content

Fix duplicate scheduling in procedure execution#17902

Open
Caideyipi wants to merge 3 commits into
masterfrom
fix-procedure-duplicate-scheduling
Open

Fix duplicate scheduling in procedure execution#17902
Caideyipi wants to merge 3 commits into
masterfrom
fix-procedure-duplicate-scheduling

Fix SQL parser error handler traversal

f10fc1a
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jun 11, 2026 in 2m 38s

Quality Gate failed

Failed conditions
B Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 47 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/TimeoutExecutorThread.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do something with the "boolean" value returned by "remove".

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

Check warning on line 273 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/sql/parser/ErrorHandler.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 81 to 64, Complexity from 22 to 14, Nesting Level from 5 to 2, Number of Variables from 17 to 6.

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

Check warning on line 66 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/TimeoutExecutorThread.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Reduce the total number of break and continue statements in this loop to use at most one.

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

Check warning on line 776 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/ProcedureExecutor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Reduce the total number of break and continue statements in this loop to use at most one.

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

Check failure on line 65 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/TimeoutExecutorThread.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed.

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