You Can Now Use Binary Log Checksums with Group Replication

栏目: IT技术 · 发布时间: 5年前

内容简介:Group Replication enables you to create fault-tolerant systems with redundancy by replicating the system state to a set of servers. Even if some of the servers subsequently fail, as long it is not all or a majority, the system is still available.This blog

Group Replication enables you to create fault-tolerant systems with redundancy by replicating the system state to a set of servers. Even if some of the servers subsequently fail, as long it is not all or a majority, the system is still available.

This blog post will focus on the fact that after 8.0.21 you can use Group Replication with binary log event checksums turned on. Therefore, you do not have to explicitly set binlog-checksum=NONE before starting Group Replication.

The fact that Group Replication supports binary log checksums makes archiving/backing up the binary logs more resilient when it comes to validity and integrity checking. When they are pulled from the archive to be used at a later point in time, checksums will be checked when these are replayed. Furthermore, during distributed recovery, donors shall have checksums in their binary logs, so these will also be double checked at that stage. This is a good thing.

From MySQL 8.0.21, the extra configuration

--binlog-checksum=NONE

is no more required.

Note that binary log event checksums are generated when writing to the binary log. In Group Replication, coordination between servers (i.e., replication and agreement) happens before writing transactions out to the binary log and as such checksums are generated after being replicated. Consequently, the relay log for the group_replication_applier channel shall contain transactions that have events without checksums.

Conclusion

Following our tradition of steady improvements, we are once again making Group Replication simpler to use by using the server default values.

685 total views,  570 views today


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

网络共和国

网络共和国

[美] 凯斯·桑斯坦 / 黄维明 / 上海人民出版社 / 2003-6-1 / 15.00元

本书主要讨论网络中的民主问题。网络技术已经深刻地影响了我们的生活,我们随时可以获得我们需要的信息,我们也随时可以与别人联系,那么网络技术是不是就是民主的福音呢?作者回答说不,他认为通过网络人们更容易获得的是自己喜欢的信息,而拒绝接受自己不喜欢的信息,事实上人们得到的是窄化的信息,很多的网站也不和与自己立场相反的网站链接。而在一个真正的民主的环境中,信息应是多元的并且不是我们事先选择的,在其中我们还......一起来看看 《网络共和国》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试