CANCEL LABEL

description

1. NAME:
2. cancel_label: cancel a transaction with label

4. SYNOPSIS
5. curl -u user:passwd -XPOST http://host:port/api/{db}/_cancel?label={label}

7. DESCRIPTION
8. 该命令用于cancel一个指定Label对应的事务,事务在Prepare阶段能够被成功cancel

10. RETURN VALUES
11. 执行完成后,会以Json格式返回这次导入的相关内容。当前包括以下字段
12. Status: 是否成功cancel
13. Success: 成功cancel事务
14. 其他: cancel失败
15. Message: 具体的失败信息

17. ERRORS

example

1. 1. cancel testDb, testLabel的作业
2. curl -u root -XPOST http://host:port/api/testDb/_cancel?label=testLabel

keyword

1. CANCEL,LABEL