-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
ReadOnly options on failover #3277
Comments
Hi, We need this change: // Failover returns failover options created from the universal options.
} |
it fixed it this pull request |
hi
You must map the readOnly Option to Replicaonly options
if we want to connect to the slaves in sentinel is not suported
func (o *UniversalOptions) Failover() *FailoverOptions {
if len(o.Addrs) == 0 {
o.Addrs = []string{"127.0.0.1:26379"}
}
}
The text was updated successfully, but these errors were encountered: