Bug #68992 | MySQL | ||
---|---|---|---|
Submitted: | 18 Apr 2013 6:09 | Modified: | 11 Sep 2013 14:44 |
Reporter: | Salman Akram | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S1 (Critical) |
Version: | 5.6.10 | OS: | Windows (Server 2012) |
Assigned to: | CPU Architecture: | Any | |
Tags: | crash, replication |
[18 Apr 2013 6:09]
Salman Akram
[20 Apr 2013 17:35]
MySQL Verification Team
Can you compress and upload the mysql error log from a crashed server? It sounds similar to http://bugs.mysql.com/bug.php?id=68506
[22 Apr 2013 6:24]
Salman Akram
There isn't really much useful info in error logs as I mentioned in my initial comment. Here is what I did to get the below error log: 1- Started server after crash. 2- Deleted all the contents in error log. 3- set global_sql_slave_skip_counter = 1. 4- Start slave. 5- Server crashed Below is the error log (I changed sensitive info with 'aaa') and the server crashed after last line but there isn't any log: ------------------------------ 2013-04-22 00:39:53 13948 [Note] Slave I/O thread: connected to master 'aaa@10.1.10.40:3306',replication started in log 'aaa-bin.000391' at position 862634596 2013-04-22 00:39:53 13948 [Note] Slave SQL thread initialized, starting replication in log 'aaa-bin.000391' at position 623584389, relay log 'C:\aaa\MySQL\Relay Logs\aaa-relay-bin.001318' position: 623584554 2013-04-22 00:39:53 13948 [Note] 'SQL_SLAVE_SKIP_COUNTER=1' executed at relay_log_file='C:\aaa\MySQL\Relay Logs\aaa-relay-bin.001318', relay_log_pos='623584554', master_log_name='aaa-bin.000391', master_log_pos='623584389' and new position at relay_log_file='C:\aaa\MySQL\Relay Logs\aaa-relay-bin.001318', relay_log_pos='623584979', master_log_name='aaa-bin.000391', master_log_pos='623584814' 2013-04-22 00:39:53 13948 [ERROR] Slave SQL: Error 'Duplicate entry '837822' for key 'PRIMARY'' on query. Default database: 'aaa'. Query: 'INSERT INTO `userusagetime` (`UsageID`, `UserID`, `SessionID`, `StartDateTime`, `EndDateTime`, `AppID`, `OldSessionID`) VALUES (837822, 11719, 208939, '2013-04-15 23:25:59', '2013-04-15 23:26:18', 1, NULL)', Error_code: 1062 2013-04-22 00:39:53 13948 [Warning] Slave: Duplicate entry '837822' for key 'PRIMARY' Error_code: 1062 2013-04-22 00:39:53 13948 [ERROR] Error running query, slave SQL thread aborted. Fix the problem, and restart the slave SQL thread with "SLAVE START". We stopped at log 'aaa-bin.000391' position 623584814 2013-04-22 00:40:06 13948 [Note] Slave SQL thread initialized, starting replication in log 'aaa-bin.000391' at position 623584814, relay log 'C:\aaa\MySQL\Relay Logs\aaa-relay-bin.001318' position: 623584979
[11 Aug 2013 14:44]
MySQL Verification Team
please try 5.6.13 in case this is a duplicate of http://bugs.mysql.com/bug.php?id=68506 which is fixed.
[12 Sep 2013 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".