We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When issuing a SMISMEMBER command, the master node is always picked when ReadFrom.REPLICA is set.
SMISMEMBER
ReadFrom.REPLICA
val connection = MasterReplica.connect(redisClient, StringCodec.UTF8, uris) // master and replica uris connection.setReadFrom(ReadFrom.REPLICA) val async = connection.async() connection.smismember("key", "value1", "value2")
One of the relica nodes should get the command.
io.lettuce.core.masterreplica.ReadOnlyCommands should contain SMISMEMBER and io.lettuce.core.cluster.ReadOnlyCommands should contain SMISMEMBER
io.lettuce.core.masterreplica.ReadOnlyCommands
io.lettuce.core.cluster.ReadOnlyCommands
The text was updated successfully, but these errors were encountered:
set smismember as readonly redis#2197
f949df3
update test of number of read only commands redis#2197
0ea3cd2
Set smismember as readonly command #2197
smismember
82e67b3
Original pull request: #2198 Co-authored-by: Lorenz Bateman <[email protected]>
456cd5a
Fixed via #2198
Sorry, something went wrong.
584a6db
No branches or pull requests
Bug Report
Current Behavior
When issuing a
SMISMEMBER
command, the master node is always picked whenReadFrom.REPLICA
is set.Input Code
Expected behavior/code
One of the relica nodes should get the command.
Environment
Possible Solution
io.lettuce.core.masterreplica.ReadOnlyCommands
should containSMISMEMBER
and
io.lettuce.core.cluster.ReadOnlyCommands
should containSMISMEMBER
The text was updated successfully, but these errors were encountered: