Skip to content

Throttle repeated failure logs

b0f0bd5
Select commit
Loading
Failed to load commit list.
Open

Limit repeated warning logs #17889

Throttle repeated failure logs
b0f0bd5
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jun 10, 2026 in 2m 45s

Quality Gate failed

Failed conditions
6.8% Duplication on New Code (required ≤ 5%)
C 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 failure on line 100 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/pipe/coordinator/runtime/PipeMetaSyncer.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 550 in iotdb-core/metrics/interface/src/main/java/org/apache/iotdb/metrics/metricsets/disk/LinuxDiskMetricsManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

"failureLogState" is a method parameter, and should not be used for synchronization.

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

Check warning on line 620 in iotdb-core/metrics/interface/src/main/java/org/apache/iotdb/metrics/metricsets/disk/WindowsDiskMetricsManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

"failureLogState" is a method parameter, and should not be used for synchronization.

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

Check failure on line 359 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/auth/LoginLockManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 287 in iotdb-core/metrics/interface/src/main/java/org/apache/iotdb/metrics/metricsets/net/WindowsNetMetricManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

"failureLogState" is a method parameter, and should not be used for synchronization.

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

Check failure on line 79 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/service/metrics/file/SystemRelatedFileMetrics.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 356 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/service/metrics/IoTDBInternalLocalReporter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

"failureLogState" is a method parameter, and should not be used for synchronization.

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

Check warning on line 233 in iotdb-core/metrics/interface/src/main/java/org/apache/iotdb/metrics/reporter/iotdb/IoTDBSessionReporter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

"failureLogState" is a method parameter, and should not be used for synchronization.

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

Check warning on line 240 in iotdb-core/metrics/interface/src/main/java/org/apache/iotdb/metrics/reporter/iotdb/IoTDBSessionReporter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

"failureLogState" is a method parameter, and should not be used for synchronization.

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

Check warning on line 280 in iotdb-core/metrics/interface/src/main/java/org/apache/iotdb/metrics/metricsets/net/WindowsNetMetricManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

"failureLogState" is a method parameter, and should not be used for synchronization.

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

Check warning on line 627 in iotdb-core/metrics/interface/src/main/java/org/apache/iotdb/metrics/metricsets/disk/WindowsDiskMetricsManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

"failureLogState" is a method parameter, and should not be used for synchronization.

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

Check failure on line 152 in iotdb-core/metrics/interface/src/main/java/org/apache/iotdb/metrics/metricsets/net/WindowsNetMetricManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 363 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/service/metrics/IoTDBInternalLocalReporter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

"failureLogState" is a method parameter, and should not be used for synchronization.

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

Check warning on line 292 in iotdb-core/metrics/interface/src/main/java/org/apache/iotdb/metrics/metricsets/net/LinuxNetMetricManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

"failureLogState" is a method parameter, and should not be used for synchronization.

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

Check warning on line 543 in iotdb-core/metrics/interface/src/main/java/org/apache/iotdb/metrics/metricsets/disk/LinuxDiskMetricsManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

"failureLogState" is a method parameter, and should not be used for synchronization.

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

Check failure on line 98 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/active/ActiveLoadDirScanner.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 299 in iotdb-core/metrics/interface/src/main/java/org/apache/iotdb/metrics/metricsets/net/LinuxNetMetricManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

"failureLogState" is a method parameter, and should not be used for synchronization.

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