-
Notifications
You must be signed in to change notification settings - Fork 23.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove the NONDETERMINISTIC_OUTPUT flag from most CLUSTER sub-commands. #11157
Conversation
the definition is here: https://redis.io/docs/reference/command-tips/ i see that this flag was added to all these commands in #10104, i.e. in the initial PR that added this flag, and not some specific concern later realized, so chances are these are just an oversight. @guybe7 FYI. |
Does different errors nondeterministic? |
I don't think any of these count as non-deterministic for that matter. |
Add more cluster commands. |
@oranagra before Redis 7 |
Yeah, this list seems right. I might also include |
…s. (redis#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. (cherry picked from commit a7da747)
…s. (redis#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.
…s. (redis#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.
…s. (redis#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.
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.
Original text:
cluster keyslot
is deterministic.I doubt whether other cluster commands is
NONDETERMINISTIC_OUTPUT
.cluster myid
cluster flushslots
What definition of
NONDETERMINISTIC_OUTPUT
really is?