The system.status command reports current status of the clsuter itself.
(Document Root)/droonga/system/statusGETNot supported.
type of the requestsystem.statusbody of the requesttype of the responsesystem.status.resultThis command has no parameter.
This command reports the list of nodes and their vital information. For example:
{
"type" : "system.status",
"body" : {}
}
=> {
"type" : "system.status.result",
"body" : {
"nodes": {
"192.168.0.10:10031/droonga": {
"live": true
},
"192.168.0.11:10031/droonga": {
"live": false
}
}
}
}
This returns a hash like following as the response’s body, with 200 as its statusCode.
{
"nodes" : {
"<Identifier of the node 1>" : {
"live" : <Vital status of the node>
},
"<Identifier of the node 2>" : { ... },
...
}
}
nodescatalog.json, with the format: hostname:port/tag.
Each value indicates status information of corresponding node, and have following information:
livetrue, the node can process messages, and messages are delivered to it.
Otherwise, the node doesn’t process any message for now, because it is down or some reasons.This command reports general errors.