Skip to content

Bump ratis to 3.3.0 - #18320

Merged
HTHou merged 4 commits into
masterfrom
test_ratis_3.3.0
Aug 13, 2026
Merged

HTHou merged 4 commits into
masterfrom
test_ratis_3.3.0

Remove ratis-snapshot repository from pom.xml

d457f98
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Aug 13, 2026 in 4m 15s

Quality Gate failed

Failed conditions
E Reliability Rating on New Code (required ≥ A)
B Security 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 1042 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

Line is longer than 100 characters (found 103).

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

Check warning on line 316 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/schemaregion/utils/ResourceByPathUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof FragmentInstanceContext fragmentinstancecontext'

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ_4w8K-L5ldg3JYXxES&open=AZ_4w8K-L5ldg3JYXxES&pullRequest=18320

Check warning on line 293 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/fragment/QueryContext.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Return an empty collection instead of null.

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

Check warning on line 1415 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/protocol/thrift/impl/DataNodeInternalRPCServiceImpl.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_4w7woL5ldg3JYXxDX&open=AZ_4w7woL5ldg3JYXxDX&pullRequest=18320

Check warning on line 365 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_4w8HPL5ldg3JYXxD7&open=AZ_4w8HPL5ldg3JYXxD7&pullRequest=18320

Check warning on line 34 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/pipe/resource/PipeStopStrategy.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Summary javadoc is missing.

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

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

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=AZ_4w8HPL5ldg3JYXxD9&open=AZ_4w8HPL5ldg3JYXxD9&pullRequest=18320

Check warning on line 111 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/agent/task/connection/PipeEventCollector.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Combine this catch with the one at line 109, which has the same body.

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

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

All overloaded methods should be placed next to each other. Placing non-overloaded methods in between overloaded methods with the same type is a violation. Previous overloaded method located at line '1,615'.

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused "CONFIG" private field.

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

Check warning on line 703 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/event/common/tsfile/parser/scan/TsFileInsertionEventScanParser.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'if' child has incorrect indentation level 14, expected level should be 12.

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

Check warning on line 383 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/schemaregion/utils/ResourceByPathUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ_4w8K-L5ldg3JYXxER&open=AZ_4w8K-L5ldg3JYXxER&pullRequest=18320

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Merge the previous cases into this one using comma-separated label.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ_bEVdnz-gfwWbfx_bB&open=AZ_bEVdnz-gfwWbfx_bB&pullRequest=18320

Check warning on line 1598 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 123).

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ_bEVvDz-gfwWbfx_bM&open=AZ_bEVvDz-gfwWbfx_bM&pullRequest=18320

Check warning on line 1608 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 136).

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ_bEVvDz-gfwWbfx_bN&open=AZ_bEVvDz-gfwWbfx_bN&pullRequest=18320

Check warning on line 188 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/schemaregion/utils/ResourceByPathUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ_4w8K-L5ldg3JYXxEO&open=AZ_4w8K-L5ldg3JYXxEO&pullRequest=18320

Check warning on line 147 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/event/common/tsfile/parser/scan/TsFileInsertionEventScanParser.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Constructor has 12 parameters, which is greater than 7 authorized.

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

Check warning on line 85 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/memory/NotThreadSafeMemoryReservationManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Catch Exception instead of Error.

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

Check warning on line 248 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_4w8HPL5ldg3JYXxD5&open=AZ_4w8HPL5ldg3JYXxD5&pullRequest=18320

Check warning on line 162 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/subscription/broker/consensus/ProgressWALIterator.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_bEVnOz-gfwWbfx_bK&open=AZ_bEVnOz-gfwWbfx_bK&pullRequest=18320

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

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=AZ_4w8HPL5ldg3JYXxD6&open=AZ_4w8HPL5ldg3JYXxD6&pullRequest=18320

Check warning on line 83 in example/pipe-opc-ua-sink/src/main/java/org/apache/iotdb/opcua/ClientExampleRunner.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

WhitespaceAround: '}' is not preceded with whitespace.

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

Check warning on line 490 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/resource/memory/PipeMemoryManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unnecessary cast to "double".

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ_bEVj7z-gfwWbfx_bI&open=AZ_bEVj7z-gfwWbfx_bI&pullRequest=18320

Check warning on line 451 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_4w8HPL5ldg3JYXxD-&open=AZ_4w8HPL5ldg3JYXxD-&pullRequest=18320