Skip to content

Add synchronous schema deletion option - #19372

Merged
jt2594838 merged 1 commit into
apache:masterfrom
Caideyipi:feat/sync-schema-deletion
Nov 24, 2026
Merged

jt2594838 merged 1 commit into
apache:masterfrom
Caideyipi:feat/sync-schema-deletion

Conversation

@Caideyipi

Copy link
Copy Markdown
Collaborator

Summary

  • Add the ConfigNode setting enable_sync_schema_deletion, defaulting to false and requiring restart.
  • When enabled, wait for DELETE TIMESERIES, ordinary DROP TABLE, and ALTER TABLE DROP COLUMN procedures and return their final status. When disabled, retain the existing asynchronous response.
  • Preserve the existing Pipe time-series deletion acknowledgement and view-deletion paths.

Example

Set this in iotdb-system.properties:

enable_sync_schema_deletion=true

Then execute DELETE TIMESERIES root.sg.device.temperature. With the option enabled, the request returns after its deletion procedure finishes and reports the terminal result; with the default false, it returns the existing asynchronous submission response.

Tests

  • ConfigNodeConfigTest and ProcedureManagerTest: 13 tests passed.

@jt2594838
jt2594838 merged commit f3ce849 into apache:master Nov 24, 2026
39 checks passed
@jt2594838
jt2594838 deleted the feat/sync-schema-deletion branch November 24, 2026 08:39
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