Caideyipi opened a new pull request, #19186: URL: https://github.com/apache/iotdb/pull/19186
## Description Tree-model `DELETE/DROP TIMESERIES` and table-model `ALTER TABLE ... DROP COLUMN` now return after durable admission of a background procedure. Callers can inspect tree deletion with `SHOW DELETE TIMESERIES PROGRESS` and column deletion with `DESCRIBE ... DETAILS`, then wait for completion before dependent DDL. - Add a bounded tree-deletion scheduler with a default queue capacity of 1024 and one concurrently executing task. `timeseries_deletion_execution_interval_ms` defaults to 1000 ms and limits the interval between execution starts/dequeues; enqueue requests are not delayed by this interval. - Preserve query-ID idempotency, expose task IDs and progress, and keep terminal progress separate from durable finalization. Return clear admission messages for asynchronous table and column deletion. - Persist admission and completion transitions, isolate stored procedure state, and retain same-database DDL reservations through database deletion/recreation and recovery. Keep tree/table database namespaces separate and protect database configuration from being overwritten during recreation. - Update integration-test helpers and dependent tests to wait for durable deletion completion, including JDBC and Session paths. ### Validation - Current submitted source: Spotless, `git diff --check`, and a clean English integration-test dependency-closure build passed (`clean verify -pl integration-test -am -P with-integration-tests,SimpleIT`). The selected audit IT was skipped by its existing class-level `@Ignore` (1 selected, 1 skipped); its test body did not run. - Immediately preceding snapshot, with identical production sources: 56 targeted unit tests and 8 targeted IT executions passed. The IT runs covered 1C1D and 1C3D, including Memory and PBTree schema modes for tree-model cases. The subsequent change only tightened the audit IT's procedure-ID completion wait; those runtime results are historical rather than reruns of the final snapshot. - Verification reused third-party dependency caches, disabled Maven extensions/build caching, and skipped Enforcer. Required IoTDB dependencies were built from clean source; downloaded IoTDB SNAPSHOT binaries were not used. - Not run: full-reactor English/Chinese builds, complete distribution packaging, the remaining affected IT matrix (including the Session-path test update), the audit IT body, and real-cluster leader-switch race scenarios. This PR has: - [x] been self-reviewed. - [x] added unit tests or modified existing tests to cover new code paths. - [x] added integration tests. - [x] been tested in a test IoTDB cluster, with the snapshot and scope limits described above. ### Key changed classes `ProcedureManager`, `ProcedureExecutor`, `DeleteTimeSeriesProcedure`, `DeleteTimeSeriesProcedureScheduler`, `ConfigProcedureStore`, SQL parsing/progress RPC classes, and integration-test completion helpers. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
