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
PerformOnMasterOnly() and PerformOnAnyNode() option are used to allow forwarding of operations from slave/follower to master/leader instead of forcing the client to connect to the master/leader.
In addition to PerformOnAnyNode(), PreferSlaveNode() should be used to give priority to connect to slave nodes first (or PreferRandomNode() to connect to any node). If not set, the default behaviour is to connect to the master/leader.
The node preference section in the client docs is not accurate:
https://developers.eventstore.com/clients/dotnet/5.0/connecting/options.html#node-preference
PerformOnMasterOnly() and PerformOnAnyNode() option are used to allow forwarding of operations from slave/follower to master/leader instead of forcing the client to connect to the master/leader.
In addition to PerformOnAnyNode(), PreferSlaveNode() should be used to give priority to connect to slave nodes first (or PreferRandomNode() to connect to any node). If not set, the default behaviour is to connect to the master/leader.
These options cannot currently be set via connection string: EventStore/EventStoreDB-Client-Dotnet-Legacy#74
The text was updated successfully, but these errors were encountered: