summaryrefslogtreecommitdiff
path: root/src/commands
diff options
context:
space:
mode:
authorHuang Zhw <huang_zhw@126.com>2022-08-28 16:24:47 +0800
committerGitHub <noreply@github.com>2022-08-28 11:24:47 +0300
commita7da7473cbd791589b943f38dcb855404a872928 (patch)
treed553e576453418af8d56ca4a0bcaefe825bd49ed /src/commands
parent246f44d723fd3ca17fa0a47871e6f5dfab55e3bd (diff)
downloadredis-a7da7473cbd791589b943f38dcb855404a872928.tar.gz
Remove the NONDETERMINISTIC_OUTPUT flag from most CLUSTER sub-commands. (#11157)
TLDR: the CLUSTER command originally had the `random` flag, so all the sub-commands initially got that new flag, but in fact many of them don't need it. The only effect of this change is on the output of COMMAND INFO.
Diffstat (limited to 'src/commands')
-rw-r--r--src/commands/cluster-addslots.json3
-rw-r--r--src/commands/cluster-addslotsrange.json3
-rw-r--r--src/commands/cluster-countkeysinslot.json3
-rw-r--r--src/commands/cluster-delslots.json3
-rw-r--r--src/commands/cluster-delslotsrange.json3
-rw-r--r--src/commands/cluster-failover.json3
-rw-r--r--src/commands/cluster-flushslots.json3
-rw-r--r--src/commands/cluster-forget.json3
-rw-r--r--src/commands/cluster-keyslot.json3
-rw-r--r--src/commands/cluster-meet.json3
-rw-r--r--src/commands/cluster-myid.json3
-rw-r--r--src/commands/cluster-replicate.json3
-rw-r--r--src/commands/cluster-reset.json3
-rw-r--r--src/commands/cluster-saveconfig.json3
-rw-r--r--src/commands/cluster-set-config-epoch.json3
-rw-r--r--src/commands/cluster-setslot.json3
16 files changed, 0 insertions, 48 deletions
diff --git a/src/commands/cluster-addslots.json b/src/commands/cluster-addslots.json
index 518d67e09..0a2d0a82f 100644
--- a/src/commands/cluster-addslots.json
+++ b/src/commands/cluster-addslots.json
@@ -12,9 +12,6 @@
"ADMIN",
"STALE"
],
- "command_tips": [
- "NONDETERMINISTIC_OUTPUT"
- ],
"arguments": [
{
"name": "slot",
diff --git a/src/commands/cluster-addslotsrange.json b/src/commands/cluster-addslotsrange.json
index 3527f40cb..e0bc8f228 100644
--- a/src/commands/cluster-addslotsrange.json
+++ b/src/commands/cluster-addslotsrange.json
@@ -12,9 +12,6 @@
"ADMIN",
"STALE"
],
- "command_tips": [
- "NONDETERMINISTIC_OUTPUT"
- ],
"arguments": [
{
"name": "range",
diff --git a/src/commands/cluster-countkeysinslot.json b/src/commands/cluster-countkeysinslot.json
index 5a9464626..eefae6e16 100644
--- a/src/commands/cluster-countkeysinslot.json
+++ b/src/commands/cluster-countkeysinslot.json
@@ -10,9 +10,6 @@
"command_flags": [
"STALE"
],
- "command_tips": [
- "NONDETERMINISTIC_OUTPUT"
- ],
"arguments": [
{
"name": "slot",
diff --git a/src/commands/cluster-delslots.json b/src/commands/cluster-delslots.json
index 862299b7e..89c147b35 100644
--- a/src/commands/cluster-delslots.json
+++ b/src/commands/cluster-delslots.json
@@ -12,9 +12,6 @@
"ADMIN",
"STALE"
],
- "command_tips": [
- "NONDETERMINISTIC_OUTPUT"
- ],
"arguments": [
{
"name": "slot",
diff --git a/src/commands/cluster-delslotsrange.json b/src/commands/cluster-delslotsrange.json
index 116d4ff1c..68a620d69 100644
--- a/src/commands/cluster-delslotsrange.json
+++ b/src/commands/cluster-delslotsrange.json
@@ -12,9 +12,6 @@
"ADMIN",
"STALE"
],
- "command_tips": [
- "NONDETERMINISTIC_OUTPUT"
- ],
"arguments": [
{
"name": "range",
diff --git a/src/commands/cluster-failover.json b/src/commands/cluster-failover.json
index c57a1861b..e7daf241c 100644
--- a/src/commands/cluster-failover.json
+++ b/src/commands/cluster-failover.json
@@ -12,9 +12,6 @@
"ADMIN",
"STALE"
],
- "command_tips": [
- "NONDETERMINISTIC_OUTPUT"
- ],
"arguments": [
{
"name": "options",
diff --git a/src/commands/cluster-flushslots.json b/src/commands/cluster-flushslots.json
index 2478713d8..214aa396c 100644
--- a/src/commands/cluster-flushslots.json
+++ b/src/commands/cluster-flushslots.json
@@ -11,9 +11,6 @@
"NO_ASYNC_LOADING",
"ADMIN",
"STALE"
- ],
- "command_tips": [
- "NONDETERMINISTIC_OUTPUT"
]
}
}
diff --git a/src/commands/cluster-forget.json b/src/commands/cluster-forget.json
index 8991f7666..6668eab21 100644
--- a/src/commands/cluster-forget.json
+++ b/src/commands/cluster-forget.json
@@ -12,9 +12,6 @@
"ADMIN",
"STALE"
],
- "command_tips": [
- "NONDETERMINISTIC_OUTPUT"
- ],
"arguments": [
{
"name": "node-id",
diff --git a/src/commands/cluster-keyslot.json b/src/commands/cluster-keyslot.json
index d078aa3c4..10645477f 100644
--- a/src/commands/cluster-keyslot.json
+++ b/src/commands/cluster-keyslot.json
@@ -10,9 +10,6 @@
"command_flags": [
"STALE"
],
- "command_tips": [
- "NONDETERMINISTIC_OUTPUT"
- ],
"arguments": [
{
"name": "key",
diff --git a/src/commands/cluster-meet.json b/src/commands/cluster-meet.json
index c8d55f4e6..63d2cc201 100644
--- a/src/commands/cluster-meet.json
+++ b/src/commands/cluster-meet.json
@@ -18,9 +18,6 @@
"ADMIN",
"STALE"
],
- "command_tips": [
- "NONDETERMINISTIC_OUTPUT"
- ],
"arguments": [
{
"name": "ip",
diff --git a/src/commands/cluster-myid.json b/src/commands/cluster-myid.json
index ccb94eb13..dc4f8a773 100644
--- a/src/commands/cluster-myid.json
+++ b/src/commands/cluster-myid.json
@@ -9,9 +9,6 @@
"function": "clusterCommand",
"command_flags": [
"STALE"
- ],
- "command_tips": [
- "NONDETERMINISTIC_OUTPUT"
]
}
}
diff --git a/src/commands/cluster-replicate.json b/src/commands/cluster-replicate.json
index 87c6cc9aa..beda5e788 100644
--- a/src/commands/cluster-replicate.json
+++ b/src/commands/cluster-replicate.json
@@ -12,9 +12,6 @@
"ADMIN",
"STALE"
],
- "command_tips": [
- "NONDETERMINISTIC_OUTPUT"
- ],
"arguments": [
{
"name": "node-id",
diff --git a/src/commands/cluster-reset.json b/src/commands/cluster-reset.json
index b11607a0e..90c810838 100644
--- a/src/commands/cluster-reset.json
+++ b/src/commands/cluster-reset.json
@@ -12,9 +12,6 @@
"STALE",
"NOSCRIPT"
],
- "command_tips": [
- "NONDETERMINISTIC_OUTPUT"
- ],
"arguments": [
{
"name": "reset-type",
diff --git a/src/commands/cluster-saveconfig.json b/src/commands/cluster-saveconfig.json
index 1bf49e7f7..991286d09 100644
--- a/src/commands/cluster-saveconfig.json
+++ b/src/commands/cluster-saveconfig.json
@@ -11,9 +11,6 @@
"NO_ASYNC_LOADING",
"ADMIN",
"STALE"
- ],
- "command_tips": [
- "NONDETERMINISTIC_OUTPUT"
]
}
}
diff --git a/src/commands/cluster-set-config-epoch.json b/src/commands/cluster-set-config-epoch.json
index 2f819052d..5f07f63c2 100644
--- a/src/commands/cluster-set-config-epoch.json
+++ b/src/commands/cluster-set-config-epoch.json
@@ -12,9 +12,6 @@
"ADMIN",
"STALE"
],
- "command_tips": [
- "NONDETERMINISTIC_OUTPUT"
- ],
"arguments": [
{
"name": "config-epoch",
diff --git a/src/commands/cluster-setslot.json b/src/commands/cluster-setslot.json
index 6bdcae90c..df3b0448c 100644
--- a/src/commands/cluster-setslot.json
+++ b/src/commands/cluster-setslot.json
@@ -12,9 +12,6 @@
"ADMIN",
"STALE"
],
- "command_tips": [
- "NONDETERMINISTIC_OUTPUT"
- ],
"arguments": [
{
"name": "slot",