Skip to content

Expose consensus subscription queue readiness - #19302

Open
Caideyipi wants to merge 1 commit into
masterfrom
codex/queues-bound-readiness
Open

Caideyipi wants to merge 1 commit into
masterfrom
codex/queues-bound-readiness

Expose consensus subscription queue readiness

7c3eade
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Nov 17, 2026 in 5m 41s

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 288 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

Replace this instanceof check and cast with 'instanceof PipeRawTabletInsertionEvent piperawtabletinsertionevent'

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

Check warning on line 421 in iotdb-client/service-rpc/src/main/java/org/apache/iotdb/rpc/TElasticFramedTransport.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 155).

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

Check warning on line 202 in iotdb-client/jdbc/src/main/java/org/apache/iotdb/jdbc/Utils.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=AaHokEqOyDnQFW7CnkGu&open=AaHokEqOyDnQFW7CnkGu&pullRequest=19302

Check failure on line 90 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/fragment/QueryAttemptRegistry.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof IoTDBException iotdbexception'

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 168 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/sql/ast/InsertValues.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=AaHokCyFyDnQFW7CnkE9&open=AaHokCyFyDnQFW7CnkE9&pullRequest=19302

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

WhitespaceAround: '{' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3)

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

Check warning on line 199 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/udf/service/UDFClassLoaderManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 144 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/statement/crud/InsertMultiTabletsStatement.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=AaHokDA8yDnQFW7CnkFL&open=AaHokDA8yDnQFW7CnkFL&pullRequest=19302

Check warning on line 371 in iotdb-client/jdbc/src/main/java/org/apache/iotdb/jdbc/IoTDBResultMetadata.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Update this method so that its implementation is not identical to "isAutoIncrement" on line 353.

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

Check warning on line 376 in iotdb-client/jdbc/src/main/java/org/apache/iotdb/jdbc/IoTDBTablePreparedStatement.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Update this method so that its implementation is not identical to "getPrecision" on line 370.

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof DeviceTableScanNode devicetablescannode'

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

Check warning on line 133 in iotdb-client/jdbc/src/main/java/org/apache/iotdb/jdbc/IoTDBDataSource.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Parameter name 'aClass' must match pattern '^[a-z]([a-z0-9][a-zA-Z0-9]*)?$'.

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

Check warning on line 337 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/tsfile/TsFileResource.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Expected @throws tag for 'FileNotFoundException'.

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

Check warning on line 197 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/pipe/coordinator/runtime/PipeMetaSyncer.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 122).

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

Check warning on line 78 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/partition/RegionGroup.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=AaHokEQVyDnQFW7CnkGF&open=AaHokEQVyDnQFW7CnkGF&pullRequest=19302

Check warning on line 745 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/security/TreeAccessCheckVisitor.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=AaHokC1-yDnQFW7CnkFD&open=AaHokC1-yDnQFW7CnkFD&pullRequest=19302

Check warning on line 210 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/udf/service/UDFClassLoaderManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Reduce the total number of break and continue statements in this loop to use at most one.

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

Check warning on line 670 in iotdb-client/jdbc/src/main/java/org/apache/iotdb/jdbc/IoTDBDatabaseMetadata.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 173 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/LocalExecutionPlanner.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 '118'.

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

Check warning on line 157 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/sql/ast/InsertValues.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof Row row'

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

Check warning on line 65 in iotdb-client/subscription/src/main/java/org/apache/iotdb/session/subscription/SubscriptionTreeSessionBuilder.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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