Skip to content

Limit repeated warning logs - #17889

Draft
Caideyipi wants to merge 16 commits into
masterfrom
fix-log-throttling
Draft

Caideyipi wants to merge 16 commits into
masterfrom
fix-log-throttling

Localize throttle validation and avoid duplicate disk-full logs

29bc6d7
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Nov 4, 2026 in 9m 31s

Quality Gate failed

Failed conditions
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 warning on line 1986 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 110).

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

Check warning on line 635 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/analyzer/StatementAnalyzer.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 109).

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

Check warning on line 445 in iotdb-client/subscription/src/main/java/org/apache/iotdb/session/subscription/consumer/base/AbstractSubscriptionPullConsumer.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 220).

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

Check warning on line 1683 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/receiver/protocol/iotconsensusv2/IoTConsensusV2Receiver.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 115).

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

Check warning on line 150 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/planner/ir/PredicateWithUncorrelatedScalarSubqueryReconstructor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 101).

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

Check warning on line 461 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/subscription/agent/SubscriptionTopicAgent.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 118).

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

Check warning on line 76 in iotdb-core/calc-commons/src/main/java/org/apache/iotdb/calc/transformation/dag/column/unary/scalar/BytesToLongColumnTransformer.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 124).

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

Check warning on line 587 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/statement/crud/QueryStatement.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 103).

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

Check warning on line 83 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/tools/TsFileSketchTool.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this use of System.out by a logger.

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

Check warning on line 1205 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/receiver/protocol/thrift/IoTDBDataNodeReceiver.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 105).

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

Check warning on line 74 in iotdb-core/calc-commons/src/main/java/org/apache/iotdb/calc/transformation/dag/column/unary/scalar/BytesToDoubleColumnTransformer.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 124).

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

Check warning on line 1968 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/ProcedureManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 124).

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

Check warning on line 259 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/impl/partition/DataPartitionTableIntegrityCheckProcedure.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 118).

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

Check warning on line 764 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/subscription/SubscriptionInfo.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 164).

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

Check warning on line 865 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/Coordinator.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof WrappedInsertStatement wrappedinsertstatement'

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

Check warning on line 4203 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/AnalyzeVisitor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 128).

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

Check warning on line 214 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/executor/RegionWriteExecutor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 102).

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

Check warning on line 83 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/tools/TsFileResourcePrinter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "printf" instead of "String.format".

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

Check warning on line 147 in iotdb-client/cli/src/main/java/org/apache/iotdb/tool/common/Constants.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 178).

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

Check failure on line 375 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=AaGks0sSFEkKz5N68A6G&open=AaGks0sSFEkKz5N68A6G&pullRequest=17889

Check warning on line 523 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/receiver/protocol/thrift/IoTDBDataNodeReceiver.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'try' child has incorrect indentation level 18, expected level should be 16.

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

Check warning on line 792 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/subscription/SubscriptionInfo.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 165).

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

Check warning on line 227 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/tools/TsFileSketchTool.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 124).

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

Check warning on line 96 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/subscription/broker/SubscriptionPrefetchingTabletQueue.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 168).

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

Check warning on line 106 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/tools/utils/TsFileStatisticScan.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "printf" instead of "String.format".

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