Bug #78196 | PARTIALLY FAILED DROP TABLE FAILS TO CONSUME GTID ON BINLOGLESS SLAVE | ||
---|---|---|---|
Submitted: | 25 Aug 2015 1:25 | Modified: | 20 May 2016 16:17 |
Reporter: | João Gramacho | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S3 (Non-critical) |
Version: | 5.7 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[25 Aug 2015 1:25]
João Gramacho
[26 Aug 2015 13:42]
Sven Sandberg
Posted by developer: This also affects partially failing ACL statements. See BUG#21697422, which has been marked as a duplicate of the present one, assuming a single patch will fix both bugs. Please also investigate if there are other non-DML statements which are affected. Guessing DROP VIEW and RENAME TABLE: these statements can drop/rename multiple tables, so probably they can fail after having dropped/renamed some but not all tables. main.no_binlog_gtid_next_single_stmt_trx_rollback will probably be disabled (at least on trunk) due to this bug; please re-enable it after fixing.
[20 May 2016 16:17]
David Moss
Posted by developer: This has been fixed in upcoming versions and the following was added to the 5.7.13 changelog: A partially failed statement was not correctly consuming an auto-generated or specified GTID when binary logging was disabled. The fix ensures that a partially failed DROP TABLE, a partially failed DROP USER or a partially failed DROP VIEW consume respectively the relevant GTID and save it into @@GLOBAL.GTID_EXECUTED and mysql.gtid_executed tables when binary logging is disabled.