-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
readOnlyForReplica flag question #3929
Comments
It is meant for READONLY command which is dedicated for Redis Cluster. Thank you for asking this. I guess we'd have to rename+document it further. |
Thank you for your quick answer! |
@ruispereira Not readily. You may extend |
Thank you! |
Using |
Ok, understand! |
It's up to you. Your suggestion is of course a solution. Someone else may consider maintaining list on their own and/or communicating with the replicas by executing a command (i.e. In either of the ways, separate thread could be needed. |
Checking master branch, in the class https://github.com/redis/jedis/blob/master/src/main/java/redis/clients/jedis/DefaultJedisClientConfig.java there's a new flag to allow reading from replica nodes. This can be used with sentinels? Or in a master-slave configuration?
Another question is when a new release will be shipped with this feature?
The text was updated successfully, but these errors were encountered: