Skip to content

[dev/1.3] Fix schema existence check fail-open behavior - #18827

Merged
jt2594838 merged 1 commit into
apache:dev/1.3from
Caideyipi:cp-0f91bed-dev-1.3
Oct 12, 2026
Merged

jt2594838 merged 1 commit into
apache:dev/1.3from
Caideyipi:cp-0f91bed-dev-1.3

Conversation

@Caideyipi

Copy link
Copy Markdown
Collaborator

Description

Backport #18755 (commit 0f91bed7544464f3fcb7f46d3bdf8c50669ed9b8) to dev/1.3.

Schema existence checks now preserve failures instead of silently returning an empty result. PBTree treats PathNotExistException as a missing path and reports other metadata exceptions as validation errors. The Memory and PBTree schema-region wrappers no longer swallow unexpected exceptions.

Resolve the Memory implementation conflict using the existing mtree field name in dev/1.3.

Validation

  • mvn spotless:apply -pl iotdb-core/datanode — passed.

  • mvn test -pl iotdb-core/datanode -am -Dtest=SchemaRegionBasicTest,MTreeBelowSGMemoryImplTest,MTreeBelowSGCachedImplTest -Dsurefire.failIfNoSpecifiedTests=false — passed; 67 tests passed, 4 existing performance-test cases ignored via @Ignore.

  • git diff --check origin/dev/1.3...HEAD — passed.

  • Self-reviewed.

* Fix schema existence check fail-open behavior

* Fix PR 18755 encoding and compilation issues

(cherry picked from commit 0f91bed)
@jt2594838
jt2594838 merged commit 3f9a0de into apache:dev/1.3 Oct 12, 2026
16 checks passed
@jt2594838
jt2594838 deleted the cp-0f91bed-dev-1.3 branch October 12, 2026 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants