GET LABEL STATE

description

1. NAME:
2. get_load_state: get load's state of label

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

7. DESCRIPTION

9. Check the status of a transaction

11. RETURN VALUES

13. Return of JSON format string of the status of specified transaction:
14. Label: The specified label.
15. Status: Success or not of this request.
16. Message: Error messages
17. State:
18. UNKNOWN/PREPARE/COMMITTED/VISIBLE/ABORTED

20. ERRORS

example

1. 1. Get status of label "testLabel" on database "testDb"

3. curl -u root http://host:port/api/testDb/get_load_state?label=testLabel

keyword

1. GET, LOAD, STATE