2022-05-13 12:47:58 -04:00
|
|
|
{
|
|
|
|
"SLAVES": {
|
2023-03-29 20:48:59 +03:00
|
|
|
"summary": "Returns a list of the monitored replicas.",
|
|
|
|
"complexity": "O(N) where N is the number of replicas.",
|
2022-05-13 12:47:58 -04:00
|
|
|
"group": "sentinel",
|
|
|
|
"since": "2.8.0",
|
|
|
|
"arity": 3,
|
|
|
|
"container": "SENTINEL",
|
|
|
|
"function": "sentinelCommand",
|
|
|
|
"deprecated_since": "5.0.0",
|
|
|
|
"replaced_by": "`SENTINEL REPLICAS`",
|
|
|
|
"doc_flags": [
|
|
|
|
"DEPRECATED"
|
|
|
|
],
|
|
|
|
"command_flags": [
|
|
|
|
"ADMIN",
|
|
|
|
"SENTINEL",
|
|
|
|
"ONLY_SENTINEL"
|
|
|
|
],
|
2023-04-19 02:08:11 -04:00
|
|
|
"reply_schema": {
|
|
|
|
"type": "array",
|
|
|
|
"description": "List of monitored replicas, and their state.",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-05-13 12:47:58 -04:00
|
|
|
"arguments": [
|
|
|
|
{
|
|
|
|
"name": "master-name",
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|