As we know mysql do replication asynchronously. I heard that I need some extra plugins to do
synchronous replication.
So let us Consider the situation of asynchronous replication: The master writes events to its binary log but does not know whether or when a master2 has retrieved and processed them. With asynchronous replication, if the master1 crashes, transactions that it has committed might not have been transmitted to any master2.
My question is whether these transactions will finally be replicated to master2 later when master1 starts up again? If it is not, then it is a big inconsistency problem.
My question is same for master-slave replication and master is down with same situation.
Do I need some special configuration parameter to make it happen automatically?
Or Do I have to manually dump out the data from master1 and import to master2 etc?
======
Update: I probably mis-used the word "crashes" above, I just want to refer the situation that master1 fails to sync the data to others for some time period. This replies (thanks) below cover two cases: real un-recoverable crash due to disk failure for example, or temporarily offline problem due to network problem etc.