GET LABEL STATE
description
NAME:
get_load_state: get load's state of label
SYNOPSIS
curl -u user:passwd http://host:port/api/{db}/get_load_state?label=xxx
DESCRIPTION
Check the status of a transaction
RETURN VALUES
Return of JSON format string of the status of specified transaction:
Label: The specified label.
Status: Success or not of this request.
Message: Error messages
State:
UNKNOWN/PREPARE/COMMITTED/VISIBLE/ABORTED
ERRORS
example
1. Get status of label "testLabel" on database "testDb"
curl -u root http://host:port/api/testDb/get_load_state?label=testLabel
keyword
GET, LOAD, STATE