You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UniversalOptions doesn't support a ReplicaOnly option, but it UniversalClient can support creating FailoverClient if a MasterName is provided. a FailoverClient can support routing commands to a replica behind Sentinel if ReplicaOnly option is provided in FailoverOptions.
There is ReadOnly which is only used by cluster clients. Maybe that can be reused but it may be better to just add this to UniversalOptions.
// Only failover clients.// The sentinel master name.MasterNamestringReplicaOnlybool
The text was updated successfully, but these errors were encountered:
UniversalOptions
doesn't support aReplicaOnly
option, but itUniversalClient
can support creatingFailoverClient
if aMasterName
is provided. aFailoverClient
can support routing commands to a replica behind Sentinel ifReplicaOnly
option is provided inFailoverOptions
.There is
ReadOnly
which is only used by cluster clients. Maybe that can be reused but it may be better to just add this toUniversalOptions
.The text was updated successfully, but these errors were encountered: