Multi Master and allow slaves to write to master

Hi,

We have a phone system with multiple nodes. We want for each node to be able to do a write that will be replicated to the other hosts. Having 10 hosts all in multi master can sticky especially when adding host #11. Is it possible to have three multi master hosts and then have slave nodes that all correct to a central host. For example

|

We want that if say S1 (slave1) wants to make a write that it gets replicated to M2 and from there back down to S2,S3 as well as M3 and M1. The same would be slave 4 made a write. It would “share” it with M3 which would then send it over to M1 and M2 (causing it to be replicated to slave1, slave2 and slave3) Is that possible?

@Dovid, as we know we have some replication options with KeyDB:

  1. Replication
  2. Active Replica
  3. Multi-master replication

In case we need a reciprocal replication from more than one node the Multi-master is the single option we can use.

In your setup:

  1. M2 can be configured in Multi-master replication with M3/S1
  2. M3 can be configure in Multi-master replication with M2/S4
  3. M1 can be configured in replication from M2
  4. S1 can be configured in Multi-master (or maybe just Active Replica?) from M2
  5. S2 and S3 can be configured in replication from M2
  6. S4 can be configured in Multi-master(or maybe just Active Replica?) from M3

Issue you may have with proposed setup:

  1. S1 writes will be replicated to the all nodes M1/M2/M3/S2/S3/S4
  2. Writes from S4 will be replicated to the all nodes M1/M2/M3/S1/S2/S3