GET LABEL STATE

description

  1. NAME:
  2. get_load_state: get load's state of label
  3. SYNOPSIS
  4. curl -u user:passwd http://host:port/api/{db}/get_load_state?label=xxx
  5. DESCRIPTION
  6. Check the status of a transaction
  7. RETURN VALUES
  8. Return of JSON format string of the status of specified transaction:
  9. Label: The specified label.
  10. Status: Success or not of this request.
  11. Message: Error messages
  12. State:
  13. UNKNOWN/PREPARE/COMMITTED/VISIBLE/ABORTED
  14. ERRORS

example

  1. 1. Get status of label "testLabel" on database "testDb"
  2. curl -u root http://host:port/api/testDb/get_load_state?label=testLabel

keyword

  1. GET, LOAD, STATE