Skip to content

Commit

Permalink
feat: add support for some cluster command
Browse files Browse the repository at this point in the history
Signed-off-by: daz-3ux <[email protected]>
  • Loading branch information
Daz-3ux committed Sep 6, 2023
1 parent df96fe7 commit d106b30
Showing 1 changed file with 162 additions and 0 deletions.
162 changes: 162 additions & 0 deletions cts.json
Original file line number Diff line number Diff line change
Expand Up @@ -7514,5 +7514,167 @@
]
],
"since": "2.0.0"
},
{
"name": "asking command",
"command": [
"asking"
],
"result": [
"OK"
],
"since": "3.0.0",
"tags": "cluster"
},
{
"name": "cluster addslots command",
"command": [
"cluster addslots 1 2 3"
],
"result": [
"OK"
],
"since": "3.0.0",
"tags": "cluster"
},
{
"name": "cluster addslotsrange command",
"command": [
"cluster addslotsrange 1 5"
],
"result": [
"OK"
],
"since": "7.0.0",
"tags": "cluster"
},
{
"name": "cluster bumpepoch command",
"command": [
"cluster bumpepoch"
],
"result": [
"BUMPED"
],
"since": "3.0.0",
"tags": "cluster"
},
{
"name": "cluster count-failure-reports command",
"command": [
"cluster count-failure-reports 1"
],
"result": [
0
],
"since": "3.0.0",
"tags": "cluster"
},
{
"name": "cluster countkeysinslot command",
"command": [
"cluster addslots 7000",
"cluster countkeysinslot 7000"
],
"result": [
"OK",
50341
],
"since": "3.0.0",
"tags": "cluster"
},
{
"name": "cluster delslots command",
"command": [
"cluster addslots 1",
"cluster delslots 1"
],
"result": [
"OK",
"OK"
],
"since": "3.0.0",
"tags": "cluster"
},
{
"name": "cluster delslotsrange command",
"command": [
"cluster addslotsrange 1 5",
"cluster delslotsrange 1 5"
],
"result": [
"OK",
"OK"
],
"since": "7.0.0",
"tags": "cluster"
},
{
"name": "cluster flushslots command",
"command": [
"cluster flushslots"
],
"result": [
"OK"
],
"since": "3.0.0",
"tags": "cluster"
},
{
"name": "cluster myid command",
"command": [
"cluster myid"
],
"result": [
0
],
"since": "3.0.0",
"tags": "cluster"
},
{
"name": "cluster myshardid command",
"command": [
"cluster myshareid"
],
"result": [
0
],
"since": "7.2.0",
"tags": "cluster"
},
{
"name": "cluster reset command",
"command": [
"cluster reset hard",
"cluster reset soft"
],
"result": [
"OK",
"OK"
],
"since": "3.0.0",
"tags": "cluster"
},
{
"name": "readonly command",
"command": [
"readonly"
],
"result": [
"OK"
],
"since": "3.0.0",
"tags": "cluster"
},
{
"name": "readwrite command",
"command": [
"readwrite"
],
"result": [
"OK"
],
"since": "3.0.0",
"tags": "cluster"
}
]

0 comments on commit d106b30

Please sign in to comment.