As Per CAP
Consistency - All nodes gave the same data
Availability means the ability to access the cluster even if a node in the cluster goes down.
Partition tolerance means that the cluster continues to function even if there is a "partition" (communication break) between two nodes (both nodes are up, but can't communicate).
But Mysql Default behaviour is master-slave or master-master.
So For, Master-Slave
- There is no Consistency as slave lag can happens and hence data read from slave is not consistent.
- There is no availability as slave cannot become master without DBA intervention.
So For, Master-Master
- There is no Consistency as slave lag can happens and hence data read from slave is not consistent.
- There is no availability as slave/other-master cannot become master without DBA intervention.
- Its partial tolerant as both will work fine in case of network failure.
Am i missing something ?