MySQL 8.0.21 Replication Enhancements

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

内容简介: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


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

查看所有标签

猜你喜欢:

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

Python高级编程(第二版)

Python高级编程(第二版)

[波兰] Michał Jaworski、[法] Tarek Ziadé / 张亮、阿信 / 人民邮电出版社 / 2017-9-19 / 89.00元

Python作为一种高级程序设计语言,凭借其简洁、易读及可扩展性日渐成为程序设计领域备受推崇的语言之一。 本书基于Python 3.5版本进行讲解,通过13章的内容,深度揭示了Python编程的高级技巧。本书从Python语言及其社区的现状开始介绍,对Python语法、命名规则、Python包的编写、部署代码、扩展程序开发、管理代码、文档编写、测试开发、代码优化、并发编程、设计模式等重要话题......一起来看看 《Python高级编程(第二版)》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具