Skip to content

Fix flaky SHOW RECEIVERS lifecycle assertions - #19061

Merged
jt2594838 merged 1 commit into
masterfrom
codex/fix-show-receivers-lifecycle
Oct 30, 2026
Merged

jt2594838 merged 1 commit into
masterfrom
codex/fix-show-receivers-lifecycle

Fix flaky SHOW RECEIVERS lifecycle assertions

148f146
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Oct 30, 2026 in 6m 43s

Quality Gate failed

Failed conditions
E Reliability Rating on New Code (required ≥ A)
C 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 82 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/compaction/repair/RepairDataFileScanUtil.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make this private field "final", it is never reassigned.

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Single-line Javadoc comment should be multi-line.

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

Check failure on line 450 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/wal/io/WALInputStream.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'}' at column 46 should be alone on a line.

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

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

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

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

Check warning on line 47 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/wal/io/WALFormatProvider.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Expected @throws tag for 'IOException'.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaGLHtZ-szqS_WhwKXm8&open=AaGLHtZ-szqS_WhwKXm8&pullRequest=19061

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

Expected @throws tag for 'SQLException'.

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

Check warning on line 90 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/wal/io/WALReader.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Expected @throws tag for 'UncheckedIOException'.

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

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

Line is longer than 100 characters (found 110).

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

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

Distance between variable 'timePartitionInfoMemorySize' declaration and its first usage is 4, but allowed 3. Consider making that variable final if you still need to store its value in advance (before method calls that might have side effects on the original value).

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

Check warning on line 667 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/memory/MemoryPool.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=AaGLHv13szqS_WhwKXoc&open=AaGLHv13szqS_WhwKXoc&pullRequest=19061

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

Remove the "new int[]" prefix; the declaration already specifies the array type.

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

Check warning on line 45 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/wal/io/WALFileContext.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Expected @throws tag for 'IOException'.

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

Check warning on line 42 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/wal/io/WALFileContext.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Expected @throws tag for 'IOException'.

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

Check warning on line 74 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/EncryptDBUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Change this condition so that it does not always evaluate to "false"

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

Check warning on line 150 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/wal/recover/WALNodeRecoverTask.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 113).

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

Check warning on line 29 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/wal/io/WALFormatException.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 155 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/wal/recover/file/AbstractTsFileRecoverPerformer.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this expression which always evaluates to "true"

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

Check warning on line 246 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/compaction/execute/performer/impl/ReadPointCompactionPerformer.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename "encryptParameter" which hides the field declared at line 91.

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

Check failure on line 426 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/table/DataNodeTableCache.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=AaGLHw2RszqS_WhwKXpA&open=AaGLHw2RszqS_WhwKXpA&pullRequest=19061

Check warning on line 237 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/converter/LoadTsFileDataTypeConverter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 115).

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'package' should be separated from previous line.

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

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

Merge this if statement with the enclosing one.

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

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

Make this private field "final", it is never reassigned.

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

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

Make this private field "final", it is never reassigned.

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