27.10.2021 14:52, Pro Turm wrote:
Is it possible and how does a replica become primary at some point?
It never does it by itself. Firebird provides replication, but high-availability cluster (which you're talking about) is way more than just replication. Custom automatization is required.
e.g. in A->B->C, when A fails to become B->C ?
In read-only replica, this is impossible, as all changes are produced by A and the whole chain stops working without A. In read-write replica, the B->C part will continue working without A automagically. But you need somehow to reconnect everybody from A to B (and make sure A never reappears).
Further, is it possible and how that from A->B->C the following happens A<-B->C ?
Impossible without manual DBA actions. Dmitry Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel