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
I'am trying to create a persistent subscription to a eventstore cluster version 21.10.5. I've set the performOnMasterOnly property but it only tries to connect to follower nodes not to the leader node. The ClusterDnsEndPointDiscoverer always returns the first node it encounters and not the master node.
Below is my client config.
This is my connection string: GossipSeeds=<clusterId>-0.mesdb.eventstore.cloud:2113,<clusterId>-1.mesdb.eventstore.cloud:2113,<clusterId>-2.mesdb.eventstore.cloud:2113;UseSslConnection=true
Is also tried with the RequireMaster=true but have the same problem.
RequireMaster=true only has an effect upon appending events to a stream, not upon connecting. Try using preferRandomNode on the ClusterSettings and you should be able to connect to a random node.
Hi
I'am trying to create a persistent subscription to a eventstore cluster version 21.10.5. I've set the
performOnMasterOnly
property but it only tries to connect to follower nodes not to the leader node. TheClusterDnsEndPointDiscoverer
always returns the first node it encounters and not the master node.Below is my client config.
Thanks
The text was updated successfully, but these errors were encountered: