婷婷综合国产,91蜜桃婷婷狠狠久久综合9色 ,九九九九九精品,国产综合av

主頁 > 知識庫 > MySQL 5.7并發復制隱式bug實例分析

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

熱門標簽:寶應電信400電話辦理費用 400電話辦理都選易號網 外呼系統服務 高德地圖標注中心個人注冊 如何在高德地圖標注新地址 高德地圖標注模式 外呼系統防封號違法嗎 電銷機器人針對的 湘潭電銷機器人咨詢電話

前言

我們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)

總結

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

您可能感興趣的文章:
  • PHP+MySQL高并發加鎖事務處理問題解決方法
  • 分析MySQL并發下的問題及解決方法
  • MySQL并發更新數據時的處理方法

標簽:黃山 黔南 南充 馬鞍山 賀州 佛山 蘭州 宿遷

巨人網絡通訊聲明:本文標題《MySQL 5.7并發復制隱式bug實例分析》,本文關鍵詞  MySQL,5.7,并發,復制,隱式,;如發現本文內容存在版權問題,煩請提供相關信息告之我們,我們將及時溝通與處理。本站內容系統采集于網絡,涉及言論、版權與本站無關。
  • 相關文章
  • 下面列出與本文章《MySQL 5.7并發復制隱式bug實例分析》相關的同類信息!
  • 本頁收集關于MySQL 5.7并發復制隱式bug實例分析的相關信息資訊供網民參考!
  • 推薦文章
    婷婷综合国产,91蜜桃婷婷狠狠久久综合9色 ,九九九九九精品,国产综合av
    欧美亚洲一区二区在线| 国产一区二区电影| 在线观看视频欧美| 午夜免费久久看| 日韩一区二区在线观看| 美女国产一区二区三区| 久久综合久久综合亚洲| 成人a级免费电影| 亚洲欧洲制服丝袜| 在线播放国产精品二区一二区四区 | 亚洲自拍偷拍av| 在线综合亚洲欧美在线视频| 久久超级碰视频| 中文字幕精品一区| 欧美日韩午夜精品| 麻豆精品国产传媒mv男同| 国产午夜精品一区二区三区嫩草 | 91精品办公室少妇高潮对白| 五月婷婷久久综合| 国产三级欧美三级| 欧美三级韩国三级日本三斤 | fc2成人免费人成在线观看播放 | 亚洲免费伊人电影| 91精品一区二区三区久久久久久| 国产揄拍国内精品对白| 一区二区三区日韩精品视频| 亚洲精品在线三区| 欧美主播一区二区三区美女| 国产在线不卡一区| 亚洲一区二区美女| 久久久久亚洲蜜桃| 欧美性xxxxx极品少妇| 国产成人亚洲综合色影视| 亚洲综合久久久久| 国产欧美日韩综合精品一区二区| 欧美精品在线一区二区| 成人免费高清在线| 久久精品二区亚洲w码| 亚洲图片激情小说| 久久久久久久久久久99999| 色狠狠桃花综合| 国产成人自拍高清视频在线免费播放| 一区二区三区四区视频精品免费 | 午夜欧美在线一二页| 国产女人aaa级久久久级| 91精品国产乱码| 欧洲在线/亚洲| 成人av先锋影音| 国产美女久久久久| 日本在线不卡视频一二三区| 亚洲精品国产高清久久伦理二区| 久久久国产一区二区三区四区小说 | 色综合久久中文字幕| 韩国毛片一区二区三区| 天天操天天综合网| 亚洲精品国久久99热| 最新热久久免费视频| 国产亚洲欧美在线| 精品国产三级a在线观看| 在线播放日韩导航| 91精品在线免费观看| 欧美日韩一卡二卡| 欧美三级韩国三级日本一级| 99国产欧美另类久久久精品| 99久久综合国产精品| 成人av资源站| www.99精品| 99精品视频在线播放观看| eeuss鲁一区二区三区| 成人爽a毛片一区二区免费| 国产精品伊人色| 国产一区二三区| 国产99久久久国产精品潘金| 国产乱码精品1区2区3区| 久久99久久99小草精品免视看| 美女视频一区二区| 极品少妇xxxx偷拍精品少妇| 极品少妇xxxx精品少妇偷拍 | 亚洲老妇xxxxxx| 亚洲色图在线看| 一区二区三区蜜桃网| 亚洲图片欧美视频| 日韩成人一级片| 久久99九九99精品| 国产大陆亚洲精品国产| kk眼镜猥琐国模调教系列一区二区| 成人精品视频.| 色综合久久综合| 欧美片网站yy| 精品国产a毛片| 国产精品久久久久毛片软件| 一区二区三区四区亚洲| 日日夜夜免费精品| 国内欧美视频一区二区| 成人在线一区二区三区| 色妹子一区二区| 91精品国产综合久久精品麻豆| 精品欧美乱码久久久久久| 国产日韩亚洲欧美综合| 亚洲色图另类专区| 日日摸夜夜添夜夜添精品视频| 久久66热re国产| av在线播放成人| 91精品国模一区二区三区| 国产亚洲欧美中文| 亚洲黄色av一区| 精品一区二区三区香蕉蜜桃| 99久久免费精品| 欧美精品久久99| 中文字幕精品—区二区四季| 一级日本不卡的影视| 国产一区二区三区免费看| 色8久久精品久久久久久蜜| 日韩一区二区三区高清免费看看| 欧美韩国日本不卡| 午夜精品视频一区| 成人久久视频在线观看| 日韩一区二区三免费高清| 亚洲视频在线观看一区| 国产在线日韩欧美| 欧美日韩免费电影| 国产精品久久久久久久久久久免费看 | 99久久婷婷国产综合精品电影 | 777午夜精品免费视频| 国产三级欧美三级日产三级99 | 91麻豆精品国产自产在线| 欧美国产成人在线| 日韩中文欧美在线| 99久久伊人久久99| 久久久精品国产99久久精品芒果 | 风间由美一区二区av101| 欧美三级韩国三级日本三斤| 国产精品久久久99| 狠狠色丁香婷婷综合久久片| 欧美日韩中文一区| 18成人在线观看| 粉嫩aⅴ一区二区三区四区五区| 3d成人动漫网站| 亚洲免费观看高清完整版在线观看 | 国产尤物一区二区在线| 欧美理论电影在线| 一区二区三区欧美亚洲| 91亚洲精品乱码久久久久久蜜桃| 欧美mv日韩mv亚洲| 日本vs亚洲vs韩国一区三区二区 | 亚洲国产中文字幕| a4yy欧美一区二区三区| 国产欧美视频在线观看| 久久99精品网久久| 精品国产髙清在线看国产毛片| 亚洲成a人片在线不卡一二三区 | 日韩三级精品电影久久久| 亚洲国产中文字幕| 在线亚洲免费视频| 亚洲女同ⅹxx女同tv| 91欧美一区二区| 亚洲欧美激情视频在线观看一区二区三区| 国产毛片精品视频| 久久久99精品免费观看| 国产一区二区三区国产| 久久免费看少妇高潮| 国产精品18久久久久| 国产亚洲精品7777| 成人自拍视频在线观看| 国产精品丝袜在线| 色综合一个色综合| 337p亚洲精品色噜噜| 日韩精品国产精品| 欧美一区午夜视频在线观看| 免费人成黄页网站在线一区二区| 欧美一级久久久| 国产一区二区三区高清播放| 国产欧美日产一区| 91丝袜美腿高跟国产极品老师 | 在线观看日韩毛片| 三级不卡在线观看| 久久综合久久鬼色| 波多野结衣的一区二区三区| 樱花草国产18久久久久| 欧美日韩高清一区二区不卡| 蜜桃视频在线观看一区二区| 欧美精品一区二区在线观看| 成人免费视频播放| 亚洲香肠在线观看| 日韩一区二区三免费高清| 国产宾馆实践打屁股91| 亚洲视频一区在线| 欧美一区二区三区免费大片| 国产一区二区三区不卡在线观看| 亚洲日本在线观看| 5月丁香婷婷综合| 成人永久免费视频| 亚洲高清免费观看 | 国产成人av一区| 亚洲欧美日韩系列| 日韩欧美精品在线视频| 波多野洁衣一区| 蜜桃视频在线一区| 1000部国产精品成人观看| 日韩一区二区高清|