Skip to content

Protect UDF classloader lifetime with query scopes - #19107

Open
shuwenwei wants to merge 10 commits into
masterfrom
fix/table-model-udf-classloader-lifecycle
Open

shuwenwei wants to merge 10 commits into
masterfrom
fix/table-model-udf-classloader-lifecycle

Fix generated UDF test compilation

3f6dd87
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Nov 6, 2026 in 9m 51s

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 1241 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/receiver/protocol/thrift/IoTDBDataNodeReceiver.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=AaGgYyJL0dk27tr7bQvN&open=AaGgYyJL0dk27tr7bQvN&pullRequest=19107

Check warning on line 1607 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/ConfigManager.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=AaGgY1uU0dk27tr7bQx-&open=AaGgY1uU0dk27tr7bQx-&pullRequest=19107

Check warning on line 53 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/conf/IoTDBConstant.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "printf" instead of "String.format".

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

Check warning on line 291 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/tools/validate/TsFileOverlapValidationAndRepairTool.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=AaGgYzjc0dk27tr7bQw-&open=AaGgYzjc0dk27tr7bQw-&pullRequest=19107

Check warning on line 705 in iotdb-client/session/src/main/java/org/apache/iotdb/session/Session.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename "defaultSessionConnection" which hides the field declared at line 159.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaGqwVvyjlQ3I3p-fvhc&open=AaGqwVvyjlQ3I3p-fvhc&pullRequest=19107

Check warning on line 61 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/tools/TsFileResourcePrinter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "printf" instead of "String.format".

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

Check warning on line 81 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/tools/TsFileSketchTool.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "printf" instead of "String.format".

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

Check warning on line 59 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/consensus/statemachine/BaseStateMachine.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=AaGqwPkLjlQ3I3p-fvhS&open=AaGqwPkLjlQ3I3p-fvhS&pullRequest=19107

Check warning on line 1216 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/receiver/protocol/iotconsensusv2/IoTConsensusV2Receiver.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 107).

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

Check warning on line 236 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/analyzer/ExpressionAnalyzer.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 109).

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this use of System.out by a logger.

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

Check warning on line 803 in iotdb-client/cli/src/main/i18n/en/org/apache/iotdb/cli/i18n/CliMessages.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this String concatenation with Text block.

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

Check warning on line 211 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/subscription/broker/SubscriptionPrefetchingTsFileQueue.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 140).

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

Check warning on line 57 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/utils/WindowsOSUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 174).

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

Check warning on line 335 in iotdb-client/cli/src/main/java/org/apache/iotdb/cli/AbstractCli.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=AaGgY5UI0dk27tr7bQzk&open=AaGgY5UI0dk27tr7bQzk&pullRequest=19107

Check warning on line 865 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/Coordinator.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof WrappedInsertStatement wrappedinsertstatement'

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaGqwK-BjlQ3I3p-fvhE&open=AaGqwK-BjlQ3I3p-fvhE&pullRequest=19107

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 101).

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

Check warning on line 28 in iotdb-api/pipe-api/src/main/java/org/apache/iotdb/pipe/api/exception/PipeConnectionException.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 167).

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

Check warning on line 348 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/parser/ASTVisitor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 138).

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

Check warning on line 1196 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/receiver/protocol/thrift/IoTDBDataNodeReceiver.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof AirGapPseudoTPipeTransferRequest airgappseudotpipetransferrequest'

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

Check warning on line 593 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/receiver/protocol/thrift/IoTDBDataNodeReceiver.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=AaGqwNlajlQ3I3p-fvhQ&open=AaGqwNlajlQ3I3p-fvhQ&pullRequest=19107

Check warning on line 1165 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 119).

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

Check warning on line 301 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/pipe/agent/task/subtask/PipeAbstractSinkSubtask.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 101).

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaGqwExcjlQ3I3p-fvgc&open=AaGqwExcjlQ3I3p-fvgc&pullRequest=19107

Check warning on line 865 in iotdb-core/node-commons/src/main/i18n/en/org/apache/iotdb/commons/i18n/PipeMessages.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this String concatenation with Text block.

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

Check warning on line 54 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/tools/validate/TsFileOverlapValidationAndRepairTool.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this use of System.out by a logger.

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