mirror of
https://github.com/redis/redis.git
synced 2026-04-21 03:01:35 -04:00
The change in #12018 break the CI (fixed by #12083). There are quite a few sentinel commands that are missing both test coverage and also schema. PR added reply-schema to the following commands: - sentinel debug - sentinel info-cache - sentinel pendding-scripts - sentinel reset - sentinel simulate-failure Added some very basic tests for other sentinel commands, just so that they have some coverage. - sentinel help - sentinel masters - sentinel myid - sentinel sentinels - sentinel slaves These tests should be improved / replaced in a followup PR.
50 lines
1.4 KiB
JSON
50 lines
1.4 KiB
JSON
{
|
|
"DEBUG": {
|
|
"summary": "Lists or updates the current configurable parameters of Redis Sentinel.",
|
|
"complexity": "O(N) where N is the number of configurable parameters",
|
|
"group": "sentinel",
|
|
"since": "7.0.0",
|
|
"arity": -2,
|
|
"container": "SENTINEL",
|
|
"function": "sentinelCommand",
|
|
"command_flags": [
|
|
"ADMIN",
|
|
"SENTINEL",
|
|
"ONLY_SENTINEL"
|
|
],
|
|
"reply_schema": {
|
|
"oneOf": [
|
|
{
|
|
"description": "The configuration update was successful.",
|
|
"const": "OK"
|
|
},
|
|
{
|
|
"description": "List of configurable time parameters and their values (milliseconds).",
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"arguments": [
|
|
{
|
|
"name": "data",
|
|
"type": "block",
|
|
"optional": true,
|
|
"multiple": true,
|
|
"arguments": [
|
|
{
|
|
"name": "parameter",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "value",
|
|
"type": "string"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|