Bug #78281 | Big insert to MyISAM table causing SQL thread stop under 5.6 GTID | ||
---|---|---|---|
Submitted: | 31 Aug 2015 2:45 | Modified: | 31 Aug 2015 6:47 |
Reporter: | Fungo Wang (OCA) | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S3 (Non-critical) |
Version: | 5.6.16, 5.6.26 | OS: | Red Hat |
Assigned to: | CPU Architecture: | Any | |
Tags: | GTID, relay_log_info_repository, replication |
[31 Aug 2015 2:45]
Fungo Wang
[31 Aug 2015 6:47]
MySQL Verification Team
Hello Fungo Wang, Thank you for the report and test case. Observed this with 5.6.26 build. 2015-08-31 09:11:32 7602 [ERROR] Slave SQL: When @@SESSION.GTID_NEXT is set to a GTID, you must explicitly set it to a different value after a COMMIT or ROLLBACK. Please check GTID_NEXT variable manual page for detailed explanation. Current @@SESSION.GTID_NEXT is '1f2b42b8-4fa7-11e5-94ed-0010e05f3e06:10003'. Error_code: 1837 2015-08-31 09:11:32 7602 [Warning] Slave: When @@SESSION.GTID_NEXT is set to a GTID, you must explicitly set it to a different value after a COMMIT or ROLLBACK. Please check GTID_NEXT variable m anual page for detailed explanation. Current @@SESSION.GTID_NEXT is '1f2b42b8-4fa7-11e5-94ed-0010e05f3e06:10003'. Error_code: 1837 2015-08-31 09:11:32 7602 [ERROR] Error running query, slave SQL thread aborted. Fix the problem, and restart the slave SQL thread with "SLAVE START". We stopped at log 'master-bin.000001' position 14850515 Thanks, Umesh
[4 Apr 2016 13:18]
monty solomon
We got a similar error after converting a MyISAM table to InnoDB on a slave and performing a master/slave swap. The error occurred on all of the slaves that had the MyISAM table. Unlike the original reporter, binlog_format=MIXED and the table update was not big. Last_SQL_Errno: 1837 Last_SQL_Error: Error 'When @@SESSION.GTID_NEXT is set to a GTID, you must explicitly set it to a different value after a COMMIT or ROLLBACK. Please check GTID_NEXT variable manual page for detailed explanation. Current @@SESSION.GTID_NEXT is 'e7888981-f2dd-11e5-bd37-0ea2a07d0529:9'.' on query. Default database: 'Email'. Query: 'INSERT IGNORE INTO eventDetails ...
[4 Apr 2016 16:27]
monty solomon
Was this issue fixed as part of bug # 68525?