Skip to content

change more

65dc8c8
Select commit
Loading
Failed to load commit list.
Open

feat: add compile-time i18n for log and exception messages #17613

change more
65dc8c8
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed May 7, 2026 in 6m 40s

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 152 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/rescon/quotas/DataNodeThrottleQuotaManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use the built-in formatting to construct this argument.

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

Check warning on line 357 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/metadata/fetcher/TableHeaderSchemaValidator.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Expected @throws tag for 'SemanticException'.

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

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

Expected @throws tag for 'IndexOutOfBoundsException'.

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

Check warning on line 115 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/udf/utils/MasterRepairUtil.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace generic exceptions with specific library exceptions or a custom exception.

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

Check warning on line 108 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/wal/utils/WALFileUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace generic exceptions with specific library exceptions or a custom exception.

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

Check warning on line 192 in iotdb-core/calc-commons/src/main/java/org/apache/iotdb/calc/execution/operator/source/relational/aggregation/approximate/HyperLogLog.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Expected @throws tag for 'IllegalStateException'.

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

Check warning on line 578 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/utils/AuthUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace generic exceptions with specific library exceptions or a custom exception.

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Format specifiers should be used instead of string concatenation.

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

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

Expected @throws tag for 'UnsupportedOperationException'.

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

Check warning on line 215 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/schemaregion/tag/TagLogFile.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace generic exceptions with specific library exceptions or a custom exception.

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

Check warning on line 163 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/rescon/quotas/DefaultOperationQuota.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Expected @throws tag for 'RuntimeException'.

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

Check warning on line 84 in library-udf/src/main/java/org/apache/iotdb/library/util/BooleanCircularQueue.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Expected @throws tag for 'IllegalArgumentException'.

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

Check warning on line 108 in iotdb-core/consensus/src/main/java/org/apache/iotdb/consensus/IStateMachine.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Expected @throws tag for 'UnsupportedOperationException'.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ4CjR-KLyVlc5HDnO0S&open=AZ4CjR-KLyVlc5HDnO0S&pullRequest=17613

Check warning on line 115 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/utils/BasicStructureSerDeUtil.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Expected @throws tag for 'IllegalArgumentException'.

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

Check warning on line 145 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/wal/buffer/WALEntry.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace generic exceptions with specific library exceptions or a custom exception.

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

Check failure on line 1095 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

Define a constant instead of duplicating this literal "get region group id fail" 3 times.

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

Check warning on line 443 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/schemaregion/impl/SchemaRegionPBTreeImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Expected @throws tag for 'IllegalStateException'.

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

Check warning on line 137 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/schema/SchemaConstant.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace generic exceptions with specific library exceptions or a custom exception.

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Expected @throws tag for 'SemanticException'.

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

Check warning on line 79 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/pipe/agent/plugin/builtin/processor/throwing/ThrowingExceptionProcessor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace generic exceptions with specific library exceptions or a custom exception.

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

Check warning on line 70 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/compaction/execute/utils/writer/FastInnerCompactionWriter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace generic exceptions with specific library exceptions or a custom exception.

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

Check warning on line 131 in iotdb-client/service-rpc/src/main/java/org/apache/iotdb/rpc/stmt/PreparedParameterSerde.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Expected @throws tag for 'IllegalArgumentException'.

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

Check warning on line 35 in iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/config/UDFConfigurations.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace generic exceptions with specific library exceptions or a custom exception.

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

Check warning on line 86 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/queryengine/plan/planner/plan/node/PlanNode.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Expected @throws tag for 'UnsupportedOperationException'.

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

Check warning on line 1455 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/protocol/thrift/impl/ClientRPCServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace generic exceptions with specific library exceptions or a custom exception.

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