On 17-05-2021 11:02, Gabor Boros wrote:
With the next configuration only REPLICA_ASYNC.FDB have the changes of ORIGINAL.FDB.

database = C:\R\DB\ORIGINAL.FDB
{
     journal_directory = C:\R\JD
     journal_archive_directory = C:\R\JAD
     journal_archive_timeout = 10
}

database = C:\R\DB\REPLICA_ASYNC.FDB
{
     journal_source_directory = C:\R\JAD
     verbose_logging = true
}

database = C:\R\DB\ORIGINAL.FDB
{
    sync_replica = SYSDBA:masterkey@localhost/3052:C:\R\DB\REPLICA_SYNC.FDB
     verbose_logging = true
}
[..]
With the reverse configuration REPLICA_SYNC.FDB have the changes and REPLICA_ASYNC.FDB not.

database = C:\R\DB\ORIGINAL.FDB
{
    sync_replica = SYSDBA:masterkey@localhost/3052:C:\R\DB\REPLICA_SYNC.FDB
     verbose_logging = true
}

database = C:\R\DB\ORIGINAL.FDB
{
     journal_directory = C:\R\JD
     journal_archive_directory = C:\R\JAD
     journal_archive_timeout = 10
}

database = C:\R\DB\REPLICA_ASYNC.FDB
{
     journal_source_directory = C:\R\JAD
     verbose_logging = true
}

This is an impossible configuration: you're defining two sets of configuration for `C:\R\DB\ORIGINAL.FDB`. You should have only one entry for a database in databases.conf.

I'm not sure if the first or the last one wins, but based on your comments, it seems to be the first.

Mark
--
Mark Rotteveel


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to