MySQL 8.0.21 Replication Enhancements

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

内容简介:There is a new MySQL 8.0 release and it has some interesting replication features. The change log is available at the usual place,In addition to new functionality, we have also done some changes to defaults:In addition to changing the default of a couple o

There is a new MySQL 8.0 release and it has some interesting replication features. The change log is available at the usual place, MySQL 8.0.21 , but let me give you a brief summary.

  • Binary Log Checksums Support for Group Replication ( WL#9038 ) . This work done by Nuno Carvalho implements support for binary log checksums in Group Replication. Therefore the user can now utilize Group Replication with binary log checksums turned on.
  • Specify Through Which Endpoints Recovery Traffic Flows in Group Replication ( WL#13767 ) . This feature implemented by Anibal Pinto allows the user to specify which endpoints should the donor server advertise as endpoints that the joiners shall connect to to fetch binary logs for recovery purposes.
  • Re-classified Relevant Group Replication Information Log Messages as System Messages ( WL#13769 ) . This work done by Nuno Carvalho makes some group replication related messages to always be output to the error log. Specifically, the log messages related to membership lifecycle are always emitted. They are now classified as system messages.
  • START GROUP_REPLICATION Can Now Take Recovery Credentials as Parameters ( WL#13768 ). This work done by Jaideep Karande allows the user to specify recovery credentials through the START GROUP_REPLICATION statement.

In addition to new functionality, we have also done some changes to defaults:

  • Increased default group_replication_member_expel_timeout ( WL#13773 ). This work done by Pedro Ribeiro sets the default value of this variable to 5 instead of 0 (seconds) in Group Replication. This means that the system by default will tolerate transient network failures that last 10 seconds (5 seconds to confirm the suspicion plus a 5 seconds wait before eviction takes place). Therefore, if after this time is elapsed and if the server ‘S’ remains unreachable, then server ‘S’ is expelled.
  • Increased default group_replication_autorejoin_tries ( WL#13706 ) . This work by Parveez Baig changes the default of the auto rejoin framework in Group Replication. By default it used to be inactive (it was set to 0). With the new default (3), whenever a network partition is resolved, members that were waiting for it to be resolved and end up expelled in the process, will automatically try to join the cluster back, regardless for how long they waited for the partition to resolve itself.

In addition to changing the default of a couple of Group Replication variables we have also relaxed the limit of an existing one:

  • Reduced the Lower Bound of group_replication_message_cache_size ( WL#13979 ). This work by Luis Soares makes it possible to set the maximum limit of the XCom message cache to a value as low as 128MB (the lower bound used to be capped at 1GB).

Finally, we have done some internal enhancements to our Paxos kernel:

  • Refactorings and Code Enhancements to XCom . This work by Ole-Hjalmar Kristensen refactors some of the XCom internals and fixes also a few minor bugs.
  • Enhancements to Failure Detection. This work by Tiago Jorge and Tiago Vale introduced a couple of important fixes that reduce entropy when dealing with transient failures or network disconnects that would cause asymmetric failure detection.
  • Compile XCom as C++ ( WL#13842 ). This work by Tiago vale refactors some of the XCom internals and makes it easier to build XCom with C++.

This time around it is a slightly longer list of enhancements and other things worth noting. Have fun trying these out in MySQL 8.0.21 and send us feedback either by commenting on this blog post or by submitting a feature request or even a bug . Enjoy!

128 total views,  120 views today


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

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

微创新

微创新

德鲁•博迪、雅各布•戈登堡 / 钟莉婷 / 中信出版社 / 2014-4-5 / 42.00

好产品不一定要颠覆,微小改进就能让用户尖叫! 引爆创新领域的全新方法论 互联网时代行之有效的5大创新策略 创业者、产品经理必读的创新行动指南 《怪诞行为学》作者 丹•艾瑞里 《影响力》作者 罗伯特•西奥迪尼 全球50位最具影响力的商业思想家之一丹尼尔•平克 周鸿祎、黎万强、罗振宇、牛文文、张鹏 联袂重磅推荐 为什么iPod可以在众多mp3产品中......一起来看看 《微创新》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具