Reputation: 231
We are using RavenDB 2.5 and need to set failover connection detail in our C# solution. I found the document that explains how to do this here, http://ravendb.net/docs/article-page/3.0/csharp/client-api/bundles/how-client-integrates-with-replication-bundle#failover-servers
but there is no failover servers property of IDocumentStore in version 2.5.
How to set failover connection details in C# Raven client?
Upvotes: 0
Views: 133
Reputation: 22956
In 2.5, you need to create you own ReplicationInformer
class that has a default, although note that it is usually much easier to just call: ReplicationInformerLocalCache.TrySavingReplicationInformationToLocalCache
with the destinations of your choice.
Upvotes: 0