1
0
Fork 0
arangodb/Documentation/Examples/RestReplicationApplierState...

35 lines
1.0 KiB
Plaintext

shell> curl --data-binary @- --dump - http://localhost:8529/_api/replication/applier-state
HTTP/1.1 200 OK
content-type: application/json; charset=utf-8
{
"state" : {
"running" : false,
"lastAppliedContinuousTick" : null,
"lastProcessedContinuousTick" : null,
"lastAvailableContinuousTick" : null,
"progress" : {
"time" : "2015-02-23T09:47:24Z",
"message" : "fetching master state information",
"failedConnects" : 1
},
"totalRequests" : 2,
"totalFailedConnects" : 2,
"totalEvents" : 0,
"totalOperationsExcluded" : 0,
"lastError" : {
"time" : "2015-02-23T09:47:24Z",
"errorMessage" : "could not connect to master at tcp://127.0.0.1:8529: Could not connect to 'tcp://127.0.0.1:8529' 'connect() failed with #61 - Connection refused'",
"errorNum" : 1412
},
"time" : "2015-02-23T09:47:24Z"
},
"server" : {
"version" : "2.5.0-beta1",
"serverId" : "238013579765399"
},
"endpoint" : "tcp://127.0.0.1:8529",
"database" : "_system"
}