Hi Dimitry,
Thank you for your assistance so far.  I have got synchronous replication
working fine but still no joy with asynchronous. Here's my Replication.conf
database = D:\Users\Peter\Documents\FB4Data\FB4TEST.FDB
{
 log_directory = D:\Apps\FB4\FB4Test\chlog
 log_archive_directory = D:\Apps\FB4\FB4Test\archlog
 log_archive_timeout = 10
}

database = D:\Users\Peter\Documents\FB4Data\FB4TESTReplica.FDB
{
 log_source_directory = D:\Apps\FB4\FB4Test\archlog
 verbose_logging = true
}

journal files are created fine in D:\Apps\FB4\FB4Test\archlog (there are
now 14 of these).  I have a single file in D:\Apps\FB4\FB4Test\chlog viz
FB4TEST.FDB.chlog-000000014. But the replica just doesn't update the
modifications.
OS Windows 10
FB4 running as app on port 3052
Master and replica on same host (localhost)

I just cannot fathom what is wrong
regards
Peter

On Tue, 23 Feb 2021 at 09:10, Dmitry Yemanov <firebi...@yandex.ru> wrote:

> 23.02.2021 11:57, Peter Gore wrote:
>
> > Here's my new config
> > database = D:\Users\Peter\Documents\FB4Data\FB4TEST.FDB
> > {
> >   log_directory = D:\Apps\FB4\FB4Test\chlog
> >   log_archive_directory = D:\Apps\FB4\FB4Test\archlog
> >   log_archive_timeout = 10
> >   verbose_logging = true
> > }
> >
> > database = D:\Users\Peter\Documents\FB4Data\FB4TESTReplica.FDB
> > {
> >   log_source_directory = D:\Apps\FB4\incominglogs
>
> On a single host, log_archive_directory and log_source_directory should
> point to the same directory.
>
> (a) log_archive_directory is where journal segments are written to by
> the primary node
>
> (b) log_source_directory is where they're searched for applying by the
> replica node
>
> But there're no miracle that moves segments from (a) to (b) ;-) It
> should be either the same directory or you should move them yourself.
>
>
> Dmitry
>
>
> Firebird-Devel mailing list, web interface at
> https://lists.sourceforge.net/lists/listinfo/firebird-devel
>
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to