日本免费精品_最新日韩一区_亚洲视频一区在线_a在线视频观看_天天射夜夜骑_粉嫩av一区二区三区_欧美中日韩免费视频_综合图区欧美_国内精品美女在线观看_午夜精品久久久久久久男人的天堂

首頁 > 數據庫 > MySQL > 正文

MySQL 5.7并發復制隱式bug實例分析

2024-07-25 19:09:17
字體:
來源:轉載
供稿:網友

前言

我們MySQL線上環境大部分使用的是5.7.18的版本,這個版本已修復了很多bug,但針對主從復制的bug還是有很多的,尤其是一些組復制、并行復制的bug尤為突出,在5.7.19版本有做相應改善和修復。所以建議5.7.19之前的版本還是不要使用mgr和并發復制的功能,如使用建議升級至5.7.19(含)以后的版本。

我這里遇到的問題主要是莫名其妙的數據同步出現問題,無法執行stop slave,數據不一致等現象,經過查看發現是版本bug所致,所以對已上線的從庫關閉并發復制,對未上線的系統實行版本升級。此風險非常非常高,各位務必重視。

具體5.7.19修復的復制bug如下:

參考手冊:https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-19.html

References: See also: Bug #84107.

Replication: In the case of delayed initialization of the Group Replication plugin, deployed in single-primary mode, secondaries were able to get writes through an asynchronous replication channel, which is not allowed in normal initialization of the Group Replication plugin. (Bug #26314756)

Replication: With GTIDs generated for incident log events, MySQL error code 1590 (ER_SLAVE_INCIDENT) could not be skipped using the --slave-skip-errors=1590 startup option on a replication slave. (Bug #26266758)

Replication: A USE statement that followed a SET GTID_NEXT statement sometimes had no effect. (Bug #26128931)

Replication: Groups can now contain members running different server versions to enable you to do online upgrades of a replication group. The rules for combining members in a group with different versions are:

If you have a group with 8.0 members, you cannot add a 5.7 member

If you have a group with 5.7 members you can add a 8.0 member, but it remains in read-only mode. Writing to this member is dangerous while the group contains multiple server versions and should be avoided.

In a single-primary group, if the current primary leaves the group and a new primary must be elected, the primary is first chosen from the lower version members. If no lower version member is found, the primary is chosen from newer version members. (Bug #25876807)

Replication: When binlog_checksum=NONE was set on a MySQL server after startup, and then Group Replication was started, if an error occurred, the server remained in RECOVERING state and could not be shut down. (Bug #25793366, Bug #85667)

Replication: In a Group Replication setup where circular asynchronous replication was implemented between members of different replication groups, view change log events were repeatedly replicated between the groups with new generated GTIDs each time. The fix ensures that view change log events are ignored outside the named replication group where they occur, and never generate new GTIDs. (Bug #25674926)

References: See also: Bug #26049695, Bug #25928854, Bug #25721175.

Replication: When first starting the MySQL server following an installation from RPM, passwword validation plugin is activated by default (true only for RPM installations). If binary logging was already enabled at this time, the activation was logged, even though plugin activations should not be recorded in the binary log. (Bug #25672750)

Replication: In a setup where single-primary Group Replication was combined with asynchronous replication, for example with S1 and S2 forming a group and with S2 and S3 functioning as master and slave, secondaries such as S2 were accepting transactions and these could then enter the group. The fix prevents secondaries creating an asynchronous replication channel when belonging to a single-primary group, and Group Replication cannot be started when asynchronous replication is running. (Bug #25574200, Bug #85047)

References: See also: Bug #86325, Bug #26078602.

Replication: In the event that a member failed to join a group the member was not stopping and continued to accept transactions. To avoid this set your members to have super_read_only=1 in the my.cfg file. Group Replication now checks for this setting upon successful start up and sets super_read_only=0. This ensures that members which do not successfully join a group cannot accept transactions. (Bug #25474736, Bug #84728)

Replication: If the binary log on a master server was rotated and a full disk condition occurred on the partition where the binary log file was being stored, the server could stop unexpectedly. The fix adds a check for the existence of the binary log when the dump thread switches to next binary log file. If the binary log is disabled, all binary logs up to the current active log are transmitted to slave and an error is returned to the receiver thread. (Bug #25076007)

Replication: Interleaved transactions could sometimes deadlock the slave applier when the transaction isolation level was set to REPEATABLE-READ. (Bug #25040331)

Replication: If a relay log index file named relay log files that did not exist, RESET SLAVE ALL sometimes did not fully clean up properly. (Bug #24901077)

Replication: The slave_skip_errors system variable did not permit error numbers larger than 3000. Thanks to Tsubasa Tanaka for the patch. (Bug #24748639, Bug #83184)

Replication: mysqlbinlog, if invoked with the --raw option, does not flush the output file until the process terminates. But if also invoked with the --stop-never option, the process never terminates, thus nothing is ever written to the output file. Now the output is flushed after each event. (Bug #24609402)

Replication: A memory leak in mysqlbinlog was fixed. The leak happened when processing fake rotate events, or when using --raw and the destination log file could not be created. The leak only occurred when processing events from a remote server. Thanks to Laurynas Biveinis for his contribution to fixing this bug. (Bug #24323288, Bug #82283)

Replication: A slave server could lose events not yet applied when MASTER_AUTO_POSITION=0, both replication threads were stopped, and the applier delay was changed using CHANGE MASTER TO MASTER_DELAY=N. (Bug #23203678, Bug #81232)

References: See also: Bug #25340185, Bug #84375.

Replication: Transmission of large GCS messages could take so long the sender appeared to have died. (Bug #22671846)

Replication: Multithreaded slaves could not be configured with small queue sizes using slave_pending_jobs_size_max if they ever needed to process transactions larger than that size. Any packet larger than slave_pending_jobs_size_max was rejected with the error ER_MTS_EVENT_BIGGER_PENDING_JOBS_SIZE_MAX, even if the packet was smaller than the limit set by slave_max_allowed_packet.

With this fix, slave_pending_jobs_size_max becomes a soft limit rather than a hard limit. If the size of a packet exceeds slave_pending_jobs_size_max but is less than slave_max_allowed_packet, the transaction is held until all the slave workers have empty queues, and then processed. All subsequent transactions are held until the large transaction has been completed. The queue size for slave workers can therefore be limited while still allowing occasional larger transactions. (Bug #21280753, Bug #77406)

Replication: An incident event that broke replication was not written to the binary log with a GTID, so that it was not possible to skip the event using SET gtid_next=value. Instead, it was necessary to set the relay log file and relay log positions directly; this meant that, when autopositioning was enabled, it was necessary first to disable it, then to set the relay log file and position, and finally to re-enable autopositioning.

Now in such cases MySQL writes the incident event into the statement cache, so that a GTID is generated and written for it prior to flushing, and that the slave applier works with the change. Then users can skip the event using the SQL statement SET gtid_next=value, followed by BEGIN and COMMIT. (Bug #19594845)

Replication: In certain cases, the master could write to the binary log a last_committed value which was smaller than it should have been. This could cause the slave to execute in parallel transactions which should not have been, leading to inconsistencies or other errors. (Bug #84471, Bug #25379659)

Replication: When using group_replication_ip_whitelist=AUTOMATIC, IPs in the private network are permitted automatically, but some class C IP addresses were not being permitted correctly. (Bug #84329, Bug #25503458)

Replication: When an existing GTID_NEXT transaction was assigned a conflicting GTID by the server, Group Replication generated an assert upon detecting two transactions with same GTID. This was because Group Replication generates the GTID after conflict detection, which is later than with master/slave replication. The fix relaxes some conditions to only be called when commit is done and a message has been added to alert you when a GTID has already been used. (Bug #84153, Bug #25232042)

Replication: The replication applier thread returns Error 3002 ER_INCONSISTENT_ERROR when there is a difference between an expected error number and the actual error number. It is now possible to ignore this error by using 3002 with slave_skip_errors. (Bug #83186, Bug #24753281)

Replication: MySQL lost its GTID position following a restart when a dump from mysqldump had been used to load data.

To keep this problem from occurring, the mysql.gtid_executed table is now excluded automatically from dumps made by mysqldump. (Bug #82848, Bug #24590891)

References: See also: Bug #87455, Bug #26643180.

Replication: Corruption of relay logs for one channel in multi-source replication caused good channels not to be initalized during a server restart. In addition, when run with --skip-slave-start=false, the server also failed to start slave threads for those channels which were in good condition, despite the fact that it should have started the slave threads for all good channels.

Now, regardless of any errors on other channels, the server attempts to create and initialize channels that are in good condition, and starts slave threads for the good channels if --skip-slave-start is disabled. As part of this fix, START SLAVE and STOP SLAVE, which are intended to operate on all channels, are also modified such that they continue executing on all good channels even if they find bad channels among them. (Bug #82209, Bug #24285104)

Replication: The SQL thread was unable to GTID skip a partial transaction. (Bug #81119, Bug #25800025)

Debian client packages were missing information about conflicts with akonadi-backend-mysql packages. (Bug #26002288)

總結

以上就是這篇文章的全部內容了,希望本文的內容對大家的學習或者工作具有一定的參考學習價值,如果有疑問大家可以留言交流,謝謝大家對VeVb武林網的支持。


注:相關教程知識閱讀請移步到MYSQL教程頻道。
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
91精品视频观看| 亚洲视频资源在线| 日韩欧美一卡二卡| 国产欧美日韩三级| 粉嫩喷白浆久久| 一区二区三区在线|网站| 午夜成人鲁丝片午夜精品| www.老鸭窝.com| 精品播放一区二区| 最近免费中文字幕在线第一页| 日韩国产一区久久| 91精品国产自产观看在线| 国产亚洲二区| 亚洲第一香蕉网| 一级片免费在线播放| 国产欧美日韩视频在线| 最新中文在线视频| 亚洲高清免费一级二级三级| 精品对白一区国产伦| 国产伦精品免费视频| 99视频在线看| 日韩中文字幕在线播放| 日韩高清在线一区二区| 久久99久久久久| 中文字幕在线观看欧美| 欧美日韩精品三区| 美日韩精品免费视频| 粉嫩粉嫩芽的虎白女18在线视频| 99精品视频国产| 日韩中文字幕国产| 国产字幕中文| 亚洲免费在线观看av| 国产黄在线看| 91精品在线国产| 日韩精品福利一区二区三区| 韩国v欧美v日本v亚洲| 欧美日韩精品久久久| 日韩欧美国产综合| 日韩欧美三级视频| 日韩欧美亚洲日产国| 三级网站免费观看| 中文字幕精品亚洲| 欧美日韩高清在线播放| 亚洲va中文字幕| 欧美日韩精品免费看| 精品久久久精品| 国产在线不卡一区| 亚洲一区在线观看网站| 97最新国自产拍视频在线完整在线看| 国产 欧美在线| 亚洲免费婷婷| 亚洲成年人影院在线| 国产在线www| 国产成人精品日本亚洲专区61 | 91精品国产自产观看在线| 国产黄色一区| 亚洲一区激情| 深夜福利一区| 精品视频国产| 欧美中文字幕精品| 中文字幕在线观看欧美| 精品一二三区视频| 国产在线看一区| 午夜精品一区二区三区视频免费看 | 国产三级在线| 久久婷婷综合国产| 香蕉视频亚洲一级| 日韩精品三级| 亚洲国产www| 日韩三级视频中文字幕| 中文天堂资源在线| 国产成人中文字幕| 欧美日韩在线视频首页| 一本大道一区二区三区| 天堂在线一区二区三区| 日本熟女一区二区| 日韩欧美中文字幕在线视频| a在线观看免费视频| 中文字幕国产亚洲| 国产成人精品免费网站| 一本一道综合狠狠老| 91麻豆精品国产91久久久使用方法 | 在线免费91| 精品国产欧美| 日韩免费看网站| 最近中文字幕在线中文视频| 国产在线黄色片| 日韩免费高清一区二区| 91蜜桃在线视频| 精品一区二区在线观看视频| 国产午夜精品视频| 欧美日韩中文字幕| 在线不卡一区二区| 中文字幕五月天| 中文字幕 欧美 日韩| 国产一区激情在线| 精品欧美日韩| 91精品国产欧美日韩| 久久av免费| 视频一区二区不卡| 91欧美日韩麻豆精品| 综合图区亚洲白拍在线| 91久久精品视频| 亚洲一区中文| 久久av免费| 91www成人久久| 蜜臀91精品国产高清在线观看| 中文字幕亚洲一区在线观看| 中文字幕在线中文字幕二区| 国产日韩av高清| 国产日韩精品视频| 欧美日韩视频不卡| 中文字幕4区| √天堂资源中文www| 成人精品视频一区| 国产一区日韩| 中文字幕在线视频日韩| aaa欧美日韩| 韩国av一区二区| 国产一区在线观看视频| 一区二区不卡视频| 99精品在线播放| 欧美国产三级| 日韩欧美一级在线| 日韩免费精品视频| 91久久中文| av亚洲免费| 日韩综合精品| 中文字幕亚洲一区二区av在线| 日韩福利视频导航| 中文字幕亚洲高清| 精品日韩av一区二区| 久久久精品福利| 国产福利在线导航| 国产在线观看色| 国产丝袜一区| 91精品国产入口| 中文字幕最新精品| 蜜臀91精品国产高清在线观看| 伊人永久在线| 亚洲福利精品| 在线一区av| 日韩精品a在线观看91| 国产黄色在线网站| 欧美日韩中文另类| 国产小视频免费在线网址| 日韩欧美高清在线视频| 久久91精品国产91久久小草| 欧美日韩国产在线看| 欧洲精品二区| 午夜少妇久久久久久久久| 亚洲va韩国va欧美va精品| 亚洲黄页一区| 欧美日韩一二| 中文字幕在线视频第一页| 免费在线亚洲| 日韩欧美一卡二卡| 亚洲 欧美 精品| 天天在线视频色| av中文网站| 色99中文字幕| 日韩你懂的电影在线观看| 色综合天天综合网天天狠天天| 欧美日韩午夜在线视频| 日韩欧美中文字幕视频| 欧美中文字幕精品| 黄色国产网站在线播放| 国产91久久久久蜜臀青青天草二| 亚洲国产一区自拍| 日韩在线观看一区| 日韩av一区二| 日韩中文字幕在线视频播放| 日韩欧美国产网站| 国产在线黄色片| 国产999精品在线观看| 日韩久久精品网| 999在线视频| 交视频在线观看国产| 久久精品视频免费看| 91精品综合久久| 国产日韩中文在线| 欧美国产一级片| 欧美在线视频一区二区| 国产黄在线看| 中文字幕日韩欧美| 91精品国产丝袜白色高跟鞋| 一二三区精品福利视频| 国产嫩草影院久久久久| 国产成人日日夜夜| 成人禁用看黄a在线| 欧美日韩免费不卡视频一区二区三区| 亚洲欧洲日产国码av系列天堂| 国产欧美日韩91| 精品国产不卡一区二区| 国产久卡久卡久卡久卡视频精品 | 二区三区不卡不卡视频| 精品国产91乱高清在线观看| 国产精品一区二三区| 日韩精品视频在线免费观看| 尤物av一区二区| 日韩欧美国产午夜精品| 日韩视频一区在线观看| 在线看欧美日韩| 国产激情久久| 欧美日韩国产亚洲一区| 一区视频在线播放| 久久香蕉av| 中文字幕精品视频在线| 激情久久99| 国产在线第一页| 国产在线www| 成人福利一区| 欧美变态tickling挠脚心| 先锋男人资源站| 欧美日韩精品久久久| 日韩在线视频二区| 欧美日韩国产在线播放| 欧美三级一区二区三区| 亚洲一区在线观看免费| 国产极品嫩模在线视频一区| 精品国产免费视频| 亚洲大片精品永久免费| 国产www在线观看| 亚洲国产午夜精品| 狠狠色综合色区| 日韩欧美国产亚洲| 国产三级在线播放| 精品精品久久| 精品国产乱码久久久久久牛牛| 色屁屁一区二区| 欧美 日韩 国产 在线观看| 午夜一区二区视频| 77777_亚洲午夜久久多人| av中文在线资源| 日韩精品一区二区三区视频播放| 天堂在线中文资源| 中文字幕不卡三区| 99精品视频99| 日韩精品手机在线观看| 欧美日韩亚洲视频| 国产综合成人久久大片91 | 欧洲精品在线一区| 国产一区三区三区| 97caopor国产在线视频| 日韩精品视频中文在线观看| 欧美日韩精品综合| 黄色片免费在线| 国产在线播放一区二区| 日本亚洲欧美| 欧美日韩国产首页| 国产三级视频在线| 一区二区在线看| 日韩精品视频在线观看网址| 香蕉视频亚洲一级| 一区二区三区高清在线| 91精品国产综合久久久久久漫画| 日韩激情一区| 国产天堂素人系列在线视频| 欧美日韩乱国产| 国产无套粉嫩白浆在线2022年 | 国产在成人精品线拍偷自揄拍| 久久久99久久| 精品亚洲永久免费| 99精品在线播放| 欧美不卡123| 欧美日韩国产首页| 91久久精品午夜一区二区| 在线精品观看| 欧美三级日韩三级| 欧美日韩午夜在线视频| 国产日韩av一区二区| 快she精品国产999| 亚洲欧美久久久| 久久婷婷综合国产| 精品在线一区二区三区| 中文字幕视频在线观看| 一区二区欧美国产| 欧美日韩国产一中文字不卡| 在线精品视频免费播放| 久久电影国产免费久久电影| 日韩在线a电影| 亚洲欧美99| 国产高清精品在线| 欧美久久久久久蜜桃| 亚洲一区精品电影| 国产欧美综合视频| 成人无遮挡免费网站视频在线观看| 欧美中文字幕精品| 国产黄色在线观看| 亚洲电影中文字幕在线观看| 热久久精品国产| 丰满少妇一区| 精品极品三级久久久久| 欧美日韩高清| 精品国产乱码久久久久久牛牛| 精品国产1区2区3区| 精品视频在线导航| 日韩.欧美.亚洲| 蜜桃久久久久| 欧美日韩国产一区| 中文字幕在线视频日韩| 欧美性生交大片免费| 自拍日韩亚洲一区在线| 在线观看免费国产成人软件| 精品久久在线观看| 欧美黄页在线免费观看| 欧美国产亚洲一区| 91精品国产91久久久久久青草| 亚洲黄色www| 日韩中文字幕视频在线观看| 午夜一区二区三区视频| 亚洲欧美中文字幕在线一区| 国产欧美综合在线观看第十页 | 亚洲免费观看在线观看| 亚洲一区日韩在线| 91久久精品午夜一区二区| 国产一级片网站| 中文字幕中文字幕精品| 国产高清在线视频| 中文字幕狠狠干| 国产高清在线视频| 午夜成人鲁丝片午夜精品| 中文字幕日韩高清| 国产日韩在线视频| 国产69精品久久久久孕妇国产69久久| 亚洲综合中文字幕在线| 亚洲天堂国产视频| 一区二区视频在线| 国产乱国产乱老熟300部视频| 国产1卡2卡三卡四卡网站| 成人a在线视频免费观看| 亚洲.国产.中文慕字在线| 狠狠色综合色区| 亚洲一区在线观看免费| 欧美日韩午夜在线| 日韩精品视频在线免费观看| 不卡视频一区二区三区| 91麻豆免费视频网站| 精品国产1区2区3区| 午夜国产视频| 欧美日韩综合在线| 欧美日韩午夜精品| 国产极品嫩模在线视频一区| 青青国产91久久久久久| 欧美日韩高清| 日韩视频一区在线观看| 伊人亚洲视频| 日韩精品视频免费在线观看| 日韩午夜高潮| 日本一欧美一欧美一亚洲视频| 国产欧美久久久久久久久| 在线三级av| 亚洲免费在线视频一区 二区| 午夜成人鲁丝片午夜精品| 在线国产1区| 国产一区三区三区| 在线中文免费视频| 首页国产欧美久久| 日韩精品首页| aa国产成人| 国产免费一级| 尤物av一区二区| 日韩高清不卡在线| 国产久卡久卡久卡久卡视频精品| 一区视频在线播放| 天堂在线视频中文网| 婷婷中文字幕在线观看| 国产三级在线观看视频| a视频免费在线观看| 不卡av免费在线| 色综合婷婷久久| 在线一区免费| 日韩欧美中文字幕精品| 日韩欧美一级在线播放| 亚洲一区在线观看免费| 欧美日韩国产片| 国产小视频在线观看| 日韩午夜一区| 亚洲视频中文字幕| 日本一级一片免费视频| 国产网站av| 欧美日韩在线视频一区| 久久久精品午夜少妇| 国产高清在线一区| 日韩精品视频在线观看免费| 欧美日韩性视频一区二区三区| 日韩中文字幕视频在线观看| 日韩精品一区二区三区视频播放| 日韩欧美亚洲日产国| 国产精品一区二三区| 国产在线播放一区二区| 欧美日韩国产系列| 欧美日韩在线播放一区| 中文字幕 日韩 欧美| 国产偷国产偷亚洲清高网站 | 精品日韩在线| 欧美日韩三级在线观看| 天堂中文在线视频| 日韩欧美高清在线| 一区二区三区在线|网站|