Skip to content

[To dev/1.3] Improve schema metadata error messages and recovery logs (#18937) - #18975

Merged
jt2594838 merged 1 commit into
apache:dev/1.3from
Caideyipi:backport/fb0fb2095de-dev-1.3
Oct 22, 2026
Merged

jt2594838 merged 1 commit into
apache:dev/1.3from
Caideyipi:backport/fb0fb2095de-dev-1.3

Conversation

@Caideyipi

Copy link
Copy Markdown
Collaborator

Description

Backport the user-visible schema metadata diagnostics from #18937 to dev/1.3.

  • Include rejected SDT property names and values, report invalid time ranges, preserve negative and overflow errors as ILLEGAL_PARAMETER, and log default SDT times at DEBUG.
  • Preserve SchemaRegion and tag-index recovery context and the original exception.
  • Include template names and ConfigNode failure reasons in template RPC errors while retaining the RPC failure as suppressed diagnostic data.
  • Keep the English and Chinese message catalogs aligned with the 1.3 branch's existing catalog.

Validation

  • mvn -o -pl iotdb-core/datanode -am clean test -Dtest=MetaFormatUtilsTest,ClusterTemplateManagerTest -Dsurefire.failIfNoSpecifiedTests=false: passed (8 tests in both surefire executions).
  • mvn -o -pl iotdb-core/datanode checkstyle:check spotless:check: passed.
  • git diff --check: passed.

This is a manually adapted backport because dev/1.3 has different schema-engine sources and a minimal schema-message catalog.

@jt2594838
jt2594838 merged commit 2806466 into apache:dev/1.3 Oct 22, 2026
15 of 16 checks passed
@jt2594838
jt2594838 deleted the backport/fb0fb2095de-dev-1.3 branch October 22, 2026 03:42
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