Skip to content

[To dev/1.3] Fix repeated RPC dispatch reusing a released FragmentInstanceContext (NPE)#18235

Merged
JackieTien97 merged 1 commit into
dev/1.3from
ty/cp-17794-dev-1.3
Jul 17, 2026
Merged

[To dev/1.3] Fix repeated RPC dispatch reusing a released FragmentInstanceContext (NPE)#18235
JackieTien97 merged 1 commit into
dev/1.3from
ty/cp-17794-dev-1.3

Fix repeated RPC dispatch reusing a released FragmentInstanceContext …

0fe3f1a
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jul 17, 2026 in 2m 4s

Annotations

Check warning on line 437 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 82 to 64, Complexity from 17 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=AZ9vYQHpykVynF1UL5S2&open=AZ9vYQHpykVynF1UL5S2&pullRequest=18235

Check warning on line 175 in iotdb-core/datanode/src/test/java/org/apache/iotdb/db/queryengine/execution/executor/RegionReadExecutorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "mock".

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

Check warning on line 178 in iotdb-core/datanode/src/test/java/org/apache/iotdb/db/queryengine/execution/executor/RegionReadExecutorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "mock".

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

Check warning on line 179 in iotdb-core/datanode/src/test/java/org/apache/iotdb/db/queryengine/execution/executor/RegionReadExecutorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "mock".

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

Check warning on line 259 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=AZ9vYQH_ykVynF1UL5S3&open=AZ9vYQH_ykVynF1UL5S3&pullRequest=18235

Check warning on line 180 in iotdb-core/datanode/src/test/java/org/apache/iotdb/db/queryengine/execution/executor/RegionReadExecutorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "mock".

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

Check warning on line 186 in iotdb-core/datanode/src/test/java/org/apache/iotdb/db/queryengine/execution/executor/RegionReadExecutorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

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

Check warning on line 176 in iotdb-core/datanode/src/test/java/org/apache/iotdb/db/queryengine/execution/executor/RegionReadExecutorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

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

Check warning on line 197 in iotdb-core/datanode/src/test/java/org/apache/iotdb/db/queryengine/execution/executor/RegionReadExecutorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

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