Skip to content

Fix repeated RPC dispatch reusing a released FragmentInstanceContext (NPE)#17794

Merged
JackieTien97 merged 3 commits into
masterfrom
ty/fixOpt
Jun 1, 2026
Merged

Fix repeated RPC dispatch reusing a released FragmentInstanceContext (NPE)#17794
JackieTien97 merged 3 commits into
masterfrom
ty/fixOpt

fix review

33c9436
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jun 1, 2026 in 2m 33s

Annotations

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Expected @throws tag for 'IoTDBRuntimeException'.

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

Check warning on line 466 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/scheduler/FragmentInstanceDispatcherImpl.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 91 to 64, Complexity from 20 to 14, Nesting Level from 5 to 2, Number of Variables from 10 to 6.

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

Check warning on line 621 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/scheduler/FragmentInstanceDispatcherImpl.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 80 to 64, Complexity from 18 to 14, Nesting Level from 4 to 2, Number of Variables from 9 to 6.

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