Skip to content

Fix IPv6 endpoint handling in client and ops tools#18291

Merged
HTHou merged 5 commits into
masterfrom
codex/fix-cli-ipv6-endpoint-format
Jul 23, 2026
Merged

Fix IPv6 endpoint handling in client and ops tools#18291
HTHou merged 5 commits into
masterfrom
codex/fix-cli-ipv6-endpoint-format

Preserve endpoint port validation behavior

b0ab4ab
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jul 23, 2026 in 7m 45s

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 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-OR0LvkHhDvP3uqTMz&open=AZ-OR0LvkHhDvP3uqTMz&pullRequest=18291

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-OR0ACkHhDvP3uqTMq&open=AZ-OR0ACkHhDvP3uqTMq&pullRequest=18291

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

Line is longer than 100 characters (found 131).

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

Check warning on line 283 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/conf/DataNodeMemoryConfig.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 '162'.

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

Check warning on line 143 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 'getTTLTables' must contain no more than '2' consecutive capital letters.

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

Check failure on line 2703 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/conf/IoTDBDescriptor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Fix this access that will throw a NullPointerException when executed.

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

Check warning on line 1145 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-ORz7JkHhDvP3uqTMk&open=AZ-ORz7JkHhDvP3uqTMk&pullRequest=18291

Check warning 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

A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 75 to 64, Complexity from 15 to 14, Nesting Level from 5 to 2, Number of Variables from 11 to 6.

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use an "AtomicInteger" for this field; its operations are atomic.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-ORz-HkHhDvP3uqTMp&open=AZ-ORz-HkHhDvP3uqTMp&pullRequest=18291

Check warning on line 53 in external-service-impl/rest/src/main/java/org/apache/iotdb/rest/protocol/table/v1/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-OR0O4kHhDvP3uqTM6&open=AZ-OR0O4kHhDvP3uqTM6&pullRequest=18291

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-OR0LvkHhDvP3uqTMy&open=AZ-OR0LvkHhDvP3uqTMy&pullRequest=18291

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-OR0NEkHhDvP3uqTM4&open=AZ-OR0NEkHhDvP3uqTM4&pullRequest=18291

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

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-ORz7JkHhDvP3uqTMi&open=AZ-ORz7JkHhDvP3uqTMi&pullRequest=18291

Check failure on line 2826 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/conf/IoTDBDescriptor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Fix this access that will throw a NullPointerException when executed.

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

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-OR0MbkHhDvP3uqTM0&open=AZ-OR0MbkHhDvP3uqTM0&pullRequest=18291

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-ORzhIkHhDvP3uqTMS&open=AZ-ORzhIkHhDvP3uqTMS&pullRequest=18291

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-ORz4xkHhDvP3uqTMg&open=AZ-ORz4xkHhDvP3uqTMg&pullRequest=18291

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-OR0JekHhDvP3uqTMw&open=AZ-OR0JekHhDvP3uqTMw&pullRequest=18291

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Cast one of the operands of this addition operation to a "long".

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-ORz-HkHhDvP3uqTMo&open=AZ-ORz-HkHhDvP3uqTMo&pullRequest=18291

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-OR0ACkHhDvP3uqTMr&open=AZ-OR0ACkHhDvP3uqTMr&pullRequest=18291

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-OR0PnkHhDvP3uqTM9&open=AZ-OR0PnkHhDvP3uqTM9&pullRequest=18291

Check warning on line 115 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 130).

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

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-ORzxdkHhDvP3uqTMY&open=AZ-ORzxdkHhDvP3uqTMY&pullRequest=18291

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-ORz4xkHhDvP3uqTMh&open=AZ-ORz4xkHhDvP3uqTMh&pullRequest=18291

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

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

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