futriix/src/commands/client-setinfo.json
nihohit 90e9fc387c
Update command tips on more admin / configuration commands (#12545)
Updated the command tips for ACL SAVE / SETUSER / DELUSER, CLIENT SETNAME / SETINFO, and LATENCY RESET.
The tips now match CONFIG SET, since there's a similar behavior for all of these commands - the
user expects to update the various configurations & states on all nodes, not only on a single, random node.
For LATENCY RESET the response tip is now agg_sum.

Co-authored-by: Shachar Langbeheim <shachlan@amazon.com>
2023-09-04 21:30:42 +03:00

46 lines
1.2 KiB
JSON

{
"SETINFO": {
"summary": "Sets information specific to the client or connection.",
"complexity": "O(1)",
"group": "connection",
"since": "7.2.0",
"arity": 4,
"container": "CLIENT",
"function": "clientSetinfoCommand",
"command_flags": [
"NOSCRIPT",
"LOADING",
"STALE",
"SENTINEL"
],
"command_tips": [
"REQUEST_POLICY:ALL_NODES",
"RESPONSE_POLICY:ALL_SUCCEEDED"
],
"acl_categories": [
"CONNECTION"
],
"reply_schema": {
"const": "OK"
},
"arguments": [
{
"name": "attr",
"type": "oneof",
"arguments": [
{
"token": "lib-name",
"name": "libname",
"type": "string"
},
{
"token": "lib-ver",
"name": "libver",
"type": "string"
}
]
}
]
}
}