THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Rebalance
rebalance request : http POST and response:
Code Block |
---|
POST https://localhost/operations/rebalance
HTTP/1.1 202 Accepted
Location: https://localhost/operations/12336 |
POST https://localhost/operations/rebalance
...
HTTP/1.1 202 Accepted
Location: https://localhost/operations/12336
POST https://localhost/operations/rebalance
HTTP/1.1 202 Accepted
Location: https://localhost/operations/12336
subsequent rebalance request would get the same result: (if a rebalance is already going on, the request is simply accepted, and returns the running rebalance's operation status link)
...
response of running rebalance:
HTTP/1.1 200 OK
...
{
"operationType": "rebalance",
"startTime": "1287364876",
"status": "RUNNING",
"cancelMethod": "delete",
"cancelLink" : "/operations/12356"
}
...
response of a finished rebalance : 200 Ok,
{ "operationType": "rebalance", "startTime": "1287364876", "endTime" : "232353232", "status": "successful" }
...