Skip to content

Support strictly unidirectional UDP air-gap transfer - #19063

Draft
Caideyipi wants to merge 2 commits into
masterfrom
feat/air-gap-strict-unidirectional
Draft

Caideyipi wants to merge 2 commits into
masterfrom
feat/air-gap-strict-unidirectional

Avoid refreshing idle air-gap heartbeat sessions

256dce4
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Oct 30, 2026 in 6m 49s

Quality Gate failed

Failed conditions
C Security Rating on New Code (required ≥ A)
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 34 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=AaGLwwnNSWsYDktFsnpH&open=AaGLwwnNSWsYDktFsnpH&pullRequest=19063

Check warning on line 34 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/exception/table/ColumnInAlterException.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 162).

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

Check warning on line 476 in iotdb-client/jdbc/src/main/java/org/apache/iotdb/jdbc/relational/IoTDBRelationalDatabaseMetadata.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make sure using a dynamically formatted SQL query is safe here.

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

Check warning on line 33 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=AaGLwwnNSWsYDktFsnpG&open=AaGLwwnNSWsYDktFsnpG&pullRequest=19063

Check failure on line 210 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 19 to the 15 allowed.

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

Check warning on line 193 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/schema/TreeDeviceViewFieldDetector.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=AaGLwvz6SWsYDktFsnov&open=AaGLwvz6SWsYDktFsnov&pullRequest=19063

Check failure on line 647 in iotdb-client/jdbc/src/main/java/org/apache/iotdb/jdbc/IoTDBJDBCResultSet.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check failure on line 439 in iotdb-client/jdbc/src/main/java/org/apache/iotdb/jdbc/relational/IoTDBRelationalDatabaseMetadata.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "table_name" 3 times.

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

Check warning on line 164 in iotdb-core/calc-commons/src/main/java/org/apache/iotdb/calc/execution/operator/process/AnyChildBlocked.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=AaGLwuw1SWsYDktFsnoT&open=AaGLwuw1SWsYDktFsnoT&pullRequest=19063

Check warning on line 86 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/table/TreeToTableViewCache.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 81 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/client/async/handlers/rpc/TreeDeviceViewFieldDetectionHandler.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Invoke method(s) only conditionally.

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

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=AaGLwwqfSWsYDktFsnpN&open=AaGLwwqfSWsYDktFsnpN&pullRequest=19063

Check warning on line 34 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/exception/table/ColumnInDeletionException.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 160).

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

Check warning on line 285 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/DataRegion.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this logger and use the one already declared in this class.

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

Check warning on line 55 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/queryengine/common/SessionInfo.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the "transient" modifier from this field.

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

Check warning on line 426 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 120).

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

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=AaGLwtlbSWsYDktFsnnz&open=AaGLwtlbSWsYDktFsnnz&pullRequest=19063

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

Expected @throws tag for 'WALFormatException'.

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

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

Invert this negated condition and swap the two branches of the ternary.

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

Check warning on line 2218 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 ProjectNode project'

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

Check warning on line 35 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=AaGLwwnNSWsYDktFsnpI&open=AaGLwwnNSWsYDktFsnpI&pullRequest=19063

Check warning on line 533 in iotdb-client/jdbc/src/main/java/org/apache/iotdb/jdbc/relational/IoTDBRelationalDatabaseMetadata.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=AaGLww4BSWsYDktFsnpe&open=AaGLww4BSWsYDktFsnpe&pullRequest=19063

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

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

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

Check warning on line 203 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/flush/MemTableFlushTask.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this "Collections.sort()" with "List.sort()".

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

Check warning on line 72 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/event/common/tsfile/parser/scan/SinglePageWholeChunkReader.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=AaGLwtCpSWsYDktFsnnb&open=AaGLwtCpSWsYDktFsnnb&pullRequest=19063