Replication_Error:Relay log write failure:could not queue event from master,eventqueue

來源:互聯網
上載者:User

Replication_Error:Relay log write failure:could not queue event from master,eventqueue

Mysql Version :5.6.16

OS Version :CentOS release 6.4 (Final)

Replication:Master-Master 



剛剛突然發現DB Master1(當前讀寫)磁碟滿了,DB Master2(當前不對外提供寫)replication 拋出異常:Relay log write failure:could not queue event from master,並且Slave_IO_Running: No。



當時第一個想到的解決辦法是嘗試在DB Master2上stop slave;start slave;重新整理複製線程的辦法,嘗試,不可。

然後嘗試查詢Master1上的binlog,找到對應binlog,尋找下個binlog pos點重新做change master操作跳過報錯pos點,嘗試,不可。報錯:



最後解決跳過整個binlog日誌,從下個binlog013048起繼續複製(此操作要視環境而定,需考慮複製下文資料是否會存在報錯的可能)。

然後使用pt工具校正複製差異,若存在差異,修複........

著作權聲明:本文為博主原創文章,未經博主允許不得轉載。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.