Hi All,

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
}

In the replication.log:

VERBOSE: Started replication thread

VERBOSE: No new segments found, suspending for 10 seconds

.
.
.

VERBOSE: Added 1 segment(s) to the processing queue

VERBOSE: Segment 1 (104 bytes) is replicated in 15 ms, deleting the file

.
.
.


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
}

In the log:

VERBOSE: Started replication thread

VERBOSE: No new segments found, suspending for 10 seconds

VERBOSE: No new segments found, suspending for 10 seconds

.
.
.


Only one mode works in the same time per database? In this case why the log in the second case?


Gabor


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

Reply via email to