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

Source: Internet
Author: User

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

Mysql Version: 5.6.16

OS Version: CentOS release 6.4 (Final)

Replication: Master-Master



Just now I suddenly found that the DB Master1 (currently read/write) disk is full, and DB Master2 (currently not provided for external write) replication throws an exception: Relay log write failure: cocould not queue event from master, and Slave_IO_Running: No.



At that time, the first solution was to try to stop slave; start slave; refresh the replication thread on DB master2.

Then, try to query the binlog on Master1, find the corresponding binlog, find the next binlog pos point, and re-perform the change master operation to skip the error pos point. Try again, no. Error:



Finally, we can skip the entire binlog log and continue copying from the next binlog013048 (this operation depends on the environment, and we need to consider whether the following data may report errors ).

Then, verify the replication difference using the pt tool. If there is any difference, fix it ........

Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.