Skip to content

Propagate snapshot load failure during IoTConsensus AddPeer - #17935

Merged
CRZbulabula merged 7 commits into
masterfrom
fix_v2_987_snapshot_load_failed_false_success
Jun 16, 2026
Merged

Propagate snapshot load failure during IoTConsensus AddPeer#17935
CRZbulabula merged 7 commits into
masterfrom
fix_v2_987_snapshot_load_failed_false_success

Propagate SchemaRegion snapshot load failure to the boolean contract

ddeb9f8
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jun 15, 2026 in 1m 57s

Annotations

Check warning on line 760 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/schemaregion/impl/SchemaRegionMemoryImpl.java

See this annotation in the file changed.

@sonarqubecloudsonarqubecloud/ SonarCloud Code Analysis

A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 102 to 64, Complexity from 35 to 14, Nesting Level from 5 to 2, Number of Variables from 21 to 6.

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

Check warning on line 727 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/schemaregion/impl/SchemaRegionPBTreeImpl.java

See this annotation in the file changed.

@sonarqubecloudsonarqubecloud/ SonarCloud Code Analysis

A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 112 to 64, Complexity from 36 to 14, Nesting Level from 6 to 2, Number of Variables from 24 to 6.

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