In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Although MGR uses Slave's channel, it only uses the execution thread (Applier Thread) of this channel to execute Binlog Event, and does not use this channel to transmit Binlog Event. MGR does not use the Binlog Event transport mechanism of asynchronous replication, nor does it use the service port of MySQL for communication. MGR creates a separate TCP port for communication, through which Group Replication plug-ins on various MySQL servers are connected, and the two can communicate directly.
The transfer of Binlog Event is not a simple point-to-point transfer like asynchronous replication. MGR uses the Paxos protocol when transmitting data. Paxos protocol ensures the consistency and atomicity of data transmission. MGR constructs a distributed state machine replication mechanism based on Paxos protocol, which is the core technology to realize multi-master replication. This technology brings three main advantages to MGR, which are as follows.
Brain fissure does not occur in 1.MGR (but be aware that network partitions may occur, and MGR behaves slightly differently depending on the parameter group_replication_unreachable_majority_timeout=0/N setting).
2.MGR has good redundancy and can guarantee that Binlog Event is copied to at least half of the members. As long as no more than half of the members are down at the same time, it will not cause data loss.
3.MGR also guarantees that as long as the Binlog Event is not transferred to more than half of the members, the local members will not write the Binlog Event of the transaction to the Binlog file and commit the transaction, thus ensuring that there will be no data that does not exist on the online members of the group on the server that is down. Therefore, after the down server is restarted, you no longer need special processing to join the group.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.