Skip to content

Remove obsolete DataNode audit log appender#18292

Open
CRZbulabula wants to merge 1 commit into
masterfrom
yongzao/remove-datanode-audit-log
Open

Remove obsolete DataNode audit log appender#18292
CRZbulabula wants to merge 1 commit into
masterfrom
yongzao/remove-datanode-audit-log

Remove obsolete DataNode audit log appender

cf68fb1
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jul 23, 2026 in 8m 4s

Quality Gate failed

Failed conditions
E 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 192 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/protocol/opcua/client/ClientRunner.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-OfpSJuxJDfLdT-YBs&open=AZ-OfpSJuxJDfLdT-YBs&pullRequest=18292

Check warning on line 76 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/datastructure/TVList.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unnecessary cast to "long".

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-OfpaOuxJDfLdT-YB5&open=AZ-OfpaOuxJDfLdT-YB5&pullRequest=18292

Check warning on line 411 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

Replace this usage of 'Stream.collect(Collectors.toList())' with 'Stream.toList()' and ensure that the list is unmodified.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-OfpoGuxJDfLdT-YCF&open=AZ-OfpoGuxJDfLdT-YCF&pullRequest=18292

Check warning on line 150 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/protocol/opcua/server/OpcUaServerBuilder.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 116).

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-OfpTbuxJDfLdT-YBu&open=AZ-OfpTbuxJDfLdT-YBu&pullRequest=18292

Check warning on line 256 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/protocol/opcua/server/OpcUaServerBuilder.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 223).

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-OfpTbuxJDfLdT-YBv&open=AZ-OfpTbuxJDfLdT-YBv&pullRequest=18292

Check warning on line 419 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 121).

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-OfpoGuxJDfLdT-YCG&open=AZ-OfpoGuxJDfLdT-YCG&pullRequest=18292

Check warning on line 1013 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/event/common/tsfile/PipeTsFileInsertionEvent.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "nextLong()" instead.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-OfpWruxJDfLdT-YB0&open=AZ-OfpWruxJDfLdT-YB0&pullRequest=18292

Check warning on line 129 in external-service-impl/rest/src/main/java/org/apache/iotdb/rest/protocol/v2/handler/RequestValidationHandler.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 126).

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-OfpsbuxJDfLdT-YCQ&open=AZ-OfpsbuxJDfLdT-YCQ&pullRequest=18292

Check failure on line 1196 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/schema/ConfigMTree.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-OfpmHuxJDfLdT-YCC&open=AZ-OfpmHuxJDfLdT-YCC&pullRequest=18292

Check warning on line 60 in external-service-impl/rest/src/main/java/org/apache/iotdb/rest/protocol/filter/RestRequestBodyMemoryManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Move this method into "Reservation".

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-OfppCuxJDfLdT-YCI&open=AZ-OfppCuxJDfLdT-YCI&pullRequest=18292

Check warning on line 876 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/memtable/TsFileProcessor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unnecessary cast to "long".

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-OfpOsuxJDfLdT-YBq&open=AZ-OfpOsuxJDfLdT-YBq&pullRequest=18292

Check warning on line 52 in external-service-impl/rest/src/main/java/org/apache/iotdb/rest/protocol/v2/handler/ExceptionHandler.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof QueryProcessException queryprocessexception'

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-Ofpr6uxJDfLdT-YCO&open=AZ-Ofpr6uxJDfLdT-YCO&pullRequest=18292

Check warning on line 54 in external-service-impl/rest/src/main/java/org/apache/iotdb/rest/protocol/filter/RestRequestBodyMemoryManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof Reservation reservation'

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-OfppCuxJDfLdT-YCH&open=AZ-OfppCuxJDfLdT-YCH&pullRequest=18292

Check warning on line 183 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/datastructure/AlignedTVList.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unnecessary cast to "long".

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-OfpZOuxJDfLdT-YB2&open=AZ-OfpZOuxJDfLdT-YB2&pullRequest=18292

Check warning on line 1247 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/schema/ConfigMTree.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof ConfigTableNode configtablenode'

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-OfpmHuxJDfLdT-YCD&open=AZ-OfpmHuxJDfLdT-YCD&pullRequest=18292

Check failure on line 190 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/SchemaEngine.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use try-with-resources or close this "ExecutorService" in a "finally" clause.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-OfpbWuxJDfLdT-YB6&open=AZ-OfpbWuxJDfLdT-YB6&pullRequest=18292

Check warning on line 776 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/subscription/broker/consensus/ConsensusLogToTabletConverter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof LocalDate[] localdateArray'

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-OfpdGuxJDfLdT-YB-&open=AZ-OfpdGuxJDfLdT-YB-&pullRequest=18292

Check warning on line 263 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/compaction/selector/impl/SettleSelectorImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Abbreviation in name 'hasSetTTL' must contain no more than '2' consecutive capital letters.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-OfpBKuxJDfLdT-YBo&open=AZ-OfpBKuxJDfLdT-YBo&pullRequest=18292

Check warning on line 797 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/event/common/tsfile/PipeTsFileInsertionEvent.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "java.util.Random.nextLong()" instead.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-OfpWruxJDfLdT-YBy&open=AZ-OfpWruxJDfLdT-YBy&pullRequest=18292

Check warning on line 999 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/memtable/TsFileProcessor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unnecessary cast to "long".

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-OfpOsuxJDfLdT-YBr&open=AZ-OfpOsuxJDfLdT-YBr&pullRequest=18292

Check warning on line 726 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/subscription/broker/consensus/ConsensusLogToTabletConverter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof LocalDate localdate'

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-OfpdGuxJDfLdT-YB9&open=AZ-OfpdGuxJDfLdT-YB9&pullRequest=18292

Check warning on line 109 in external-service-impl/rest/src/main/java/org/apache/iotdb/rest/protocol/filter/RequestSizeLimitFilter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 197).

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-OfppZuxJDfLdT-YCL&open=AZ-OfppZuxJDfLdT-YCL&pullRequest=18292

Check warning on line 95 in external-service-impl/rest/src/main/java/org/apache/iotdb/rest/protocol/filter/RequestSizeLimitFilter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 167).

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-OfppZuxJDfLdT-YCK&open=AZ-OfppZuxJDfLdT-YCK&pullRequest=18292

Check warning on line 121 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/compaction/selector/impl/SettleSelectorImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Abbreviation in name 'fileTTLTables' must contain no more than '2' consecutive capital letters.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-OfpBKuxJDfLdT-YBl&open=AZ-OfpBKuxJDfLdT-YBl&pullRequest=18292

Check failure on line 938 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/event/common/tsfile/PipeTsFileInsertionEvent.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-OfpWruxJDfLdT-YBz&open=AZ-OfpWruxJDfLdT-YBz&pullRequest=18292