Skip to content

Limit repeated warning logs#17889

Open
Caideyipi wants to merge 11 commits into
masterfrom
fix-log-throttling
Open

Limit repeated warning logs#17889
Caideyipi wants to merge 11 commits into
masterfrom
fix-log-throttling

Extract metrics failure log state

903f2ff
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jul 3, 2026 in 2m 55s

Annotations

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 failure on line 151 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 failure on line 99 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 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 failure on line 214 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 16 to the 15 allowed.

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