Skip to content

Commit

Permalink
Revert "ddl: add admin pause/resume commands (#13294)"
Browse files Browse the repository at this point in the history
This reverts commit 485f0fb.
  • Loading branch information
Oreoxmt authored May 30, 2023
1 parent c3491fc commit 9545d63
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions ddl-introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,14 +178,6 @@ When TiDB is adding an index, the phase of backfilling data will cause read and

If a completed DDL task is canceled, you can see the `DDL Job:90 not found` error in the `RESULT` column, which means that the task has been removed from the DDL waiting queue.

- `ADMIN PAUSE DDL JOBS job_id [, job_id]`: Used to pause the DDL tasks that are being executed. After the command is executed, the SQL statement that executes the DDL task is displayed as being executed, and the background task is paused. (Experimental feature)

You can pause only DDL tasks that are in progress or still in the queue. Otherwise, the `Job 3 can't be paused now` error is shown in the `RESULT` column.

- `ADMIN RESUME DDL JOBS job_id [, job_id]`: Used to resume the DDL tasks that have been paused. After the command is executed, the SQL statement that executes the DDL task is displayed as being executed, and the background task is resumed. (Experimental feature)

You can only resume a paused DDL task. Otherwise, the `Job 3 can't be resumed` error is shown in the `RESULT` column.

## Common questions

For common questions about DDL execution, see [SQL FAQ - DDL execution](/faq/sql-faq.md#ddl-execution).

0 comments on commit 9545d63

Please sign in to comment.