CANCEL LABEL

description

  1. NAME:
  2. cancel_label: cancel a transaction with label
  3. SYNOPSIS
  4. curl -u user:passwd -XPOST http://host:port/api/{db}/_cancel?label={label}
  5. DESCRIPTION
  6. 该命令用于cancel一个指定Label对应的事务,事务在Prepare阶段能够被成功cancel
  7. RETURN VALUES
  8. 执行完成后,会以Json格式返回这次导入的相关内容。当前包括以下字段
  9. Status: 是否成功cancel
  10. Success: 成功cancel事务
  11. 其他: cancel失败
  12. Message: 具体的失败信息
  13. ERRORS

example

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

keyword

  1. CANCELLABEL