Bug #65151 | STOP SLAVE/START SLAVE failure with gtid-mode=ON | ||
---|---|---|---|
Submitted: | 30 Apr 2012 4:58 | Modified: | 10 Jun 2012 15:23 |
Reporter: | Joffrey MICHAIE | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S2 (Serious) |
Version: | 5.6.5m8 | OS: | Linux (RHEL 6.2 64bits) |
Assigned to: | CPU Architecture: | Any | |
Tags: | error 1236, start slave, stop slave |
[30 Apr 2012 4:58]
Joffrey MICHAIE
[1 May 2012 8:57]
Sveta Smirnova
Thank you for the report. I can not repeat described behavior. Do you have some activity on master in time of failing event? Could you please send us problem binary log file?
[9 May 2012 8:04]
Andrey Kolbasenko
Hi! Whith mysql 5.5.22 I have some problem. Replication master-master work with 2 5.5.22 servers. Then i run this commands on one is: mysql> slave stop; mysql> create database phpmyadmin; sh> mysql phpmyadmin < phpmyadmin.sql (in another console) mysql> start slave; mysql> SHOW SLAVE STATUS \G; *************************** 1. row *************************** Slave_IO_State: Master_Host: 192.168.0.2 Master_User: rep_user2 Master_Port: 3306 Connect_Retry: 60 Master_Log_File: mysql-bin.000008 Read_Master_Log_Pos: 19306 Relay_Log_File: slave-relay-bin.000002 Relay_Log_Pos: 253 Relay_Master_Log_File: mysql-bin.000008 Slave_IO_Running: No Slave_SQL_Running: No Replicate_Do_DB: Replicate_Ignore_DB: mysql,test,information_schema,perfomance_schema Replicate_Do_Table: Replicate_Ignore_Table: Replicate_Wild_Do_Table: Replicate_Wild_Ignore_Table: Last_Errno: 1594 Last_Error: Relay log read failure: Could not parse relay log event entry. The possible reasons are: the master's binary log is corrupted (you can check this by running 'mysqlbinlog' on the binary log), the slave's relay log is corrupted (you can check this by running 'mysqlbinlog' on the relay log), a network problem, or a bug in the master's or slave's MySQL code. If you want to check the master's binary log or slave's relay log, you will be able to know their names by issuing 'SHOW SLAVE STATUS' on this slave. Skip_Counter: 0 Exec_Master_Log_Pos: 106 Relay_Log_Space: 19609 Until_Condition: None Until_Log_File: Until_Log_Pos: 0 Master_SSL_Allowed: No Master_SSL_CA_File: Master_SSL_CA_Path: Master_SSL_Cert: Master_SSL_Cipher: Master_SSL_Key: Seconds_Behind_Master: NULL Master_SSL_Verify_Server_Cert: No Last_IO_Errno: 1236 Last_IO_Error: Got fatal error 1236 from master when reading data from binary log: 'log event entry exceeded max_allowed_packet; Increase max_allowed_packet on master; the first event 'mysql-bin.000008' at 106, the last event read from '/mnt/sdb/var/lib/mysql/mysql-bin.000008' at 46592, the last byte read from '/mnt/sdb/var/lib/mysql/mysql-bin.000008' at 19325.' Last_SQL_Errno: 1594 Last_SQL_Error: Relay log read failure: Could not parse relay log event entry. The possible reasons are: the master's binary log is corrupted (you can check this by running 'mysqlbinlog' on the binary log), the slave's relay log is corrupted (you can check this by running 'mysqlbinlog' on the relay log), a network problem, or a bug in the master's or slave's MySQL code. If you want to check the master's binary log or slave's relay log, you will be able to know their names by issuing 'SHOW SLAVE STATUS' on this slave. Replicate_Ignore_Server_Ids: Master_Server_Id: 1 1 row in set (0,00 sec) ERROR: No query specified --------------------------------------------------------------------- I change max_allowed_packet to 1G on both servers, restart both and got some error.
[9 May 2012 10:05]
Andrey Kolbasenko
Oops! I am sorry, it's my mistake. I dump all files with --master-data options and want restore it after 2 week..
[10 May 2012 15:23]
Sveta Smirnova
Andrey, thank you for update. So i assume we can ignore your initial comment. Please reject if not. I am still waiting, from original reporter, feedback I requested.
[11 Jun 2012 1:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".
[22 Apr 2020 16:16]
Ricardo Castro Cavero
Your solution of "reset slave" is great... I was trouble with error 1032 after lost the sincronization and set new parameters, after start slave I was the error 1032, try many solutions and not worked, but with your solution this was sufficient Thank you so much