Back to Redis

Cancel

content/operate/rs/references/cli-utilities/crdb-cli/task/cancel.md

latest581 B
Original Source

Cancels the Active-Active database task specified by the task ID.

sh
crdb-cli task cancel --task-id <task_id>

Parameters

ParameterValueDescription
task-id <task_id>stringAn Active-Active database task ID (required)

Returns

Attempts to cancel an Active-Active database task.

Be aware that tasks may complete before they can be cancelled.

Example

sh
$ crdb-cli task cancel --task-id 2901c2a3-2828-4717-80c0-6f27f1dd2d7c