MySQL Replication is based on a master-slave architecture, where
updates on the master are propagated to the slave through
binary log events via a communication channel (aka a
network connection). A slave would have been able to connect
to only a single master at a time. If a slave wanted to
receive updates from several masters, there were a few choices
possible:
- Time sharing replication, where a slave would connect to a master for a particular time slice. (See, Mats blog here )
- Have a hierarchical replication, where a slave that is to receive updates from the several masters is at the end of replication hierarchy. ( Like, M1->M2->M3->Slave)
- Using several instances of mysqlbinlog + GTIDs. (See Luis blog …