I now have another problem. The three replication sites are running. They successfully elect a master with two remote sites but NO replication occurrs.
When i create a new database, the database files appear only at the master and nothing appears at the two remote sites. This should be impossible as it is set to use a QUORUM ackowlegement.
The application creates the database using relative path.
Please provide more context so that we could understand the scenario, for example configurations, replication verbose output, etc. You could turn on the verbose by DatabaseEnvironment.Verbosity.Replication* at http://docs.oracle.com/cd/E17076_02/html/csharp/html/T_BerkeleyDB_VerboseMessages.htm. It is very helpful to understand the status of each replication site, e.g, being synced, sending logs, election, etc. If you could provide us this information, it would be easier to diagnose.
Also, you could refer to the C# replication manager example excs_repquote in the BDB_dotNet.sln under build_windows in the source code download package.
Thanks, but I fixed the problem. It seems that setting
_envConfig.CreationDir = CreationDirectory
to a value was the problem. This value should not be set.
I removed this setting and just passed the Directory to the env.Open(CreationDirectory, envConfig).
Strange, but its all working well now.
Incidentally, I had all the verbosity settings to true, but no error messages were displayed in the _env.ErrorFeedback delegate. This delegate has a byte parameter which I'm not quite sure what to do with.