Question

I'm looking for a way to make a multi-master cluster with pglogical.

When I say multi-master, it's means 3 nodes, where each of them is a provider and a subscriber.

Currently I have two nodes that working fine as a provider and a subscriber at the same time.

But when I whant to add my third node, with the two others, the conflict_detections appears, because the subscription try to insert always the same tuples, like a loop.

So what I need in architecture for the cluster is :

  • 3 nodes provider and subscriber as the same time
  • 2 subscriptions for each node (to send and to receive data by a replication_set)
  • 3 replication_set (to forward, all insert, update,delete orders on each node )

like this each node could send and receive data, normally.

My questions are : Does anyone have already installed a multimaster cluster with pglogical ? If yes, in wich order I have to do the subscription and the replication_set ? Specially for don't have a conflict_detection, when synchronize data. Does anyone could share me a example of installation step by step for the subscription/replication_set part ?

thank you by advance.

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with dba.stackexchange
scroll top