Bug #92398 | point in time recovery using mysqlbinlog broken with temporary table -> errors | ||
---|---|---|---|
Submitted: | 13 Sep 2018 7:18 | Modified: | 17 Apr 2019 12:31 |
Reporter: | Shane Bester (Platinum Quality Contributor) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S2 (Serious) |
Version: | 5.6.41, 5.7.23 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[13 Sep 2018 7:18]
Shane Bester
[14 Nov 2018 11:24]
Cosimo Adavastro
For me, the error 1146 (42S02) occurs in Magento 2.6 during reindex when trying to create a temporary table.
[17 Apr 2019 12:31]
Margaret Fisher
Posted by developer: Changelog entry added for MySQL 5.6.45, 5.7.27, and 8.0.17: In query log events in the binary log, the thread ID used for the execution of DROP TABLE and DELETE statements was identified incorrectly or not at all. On a multi-threaded replication slave, where temporary tables were involved (which require the correct thread ID as they are session specific), this omission resulted in errors when using mysqlbinlog to replay the binary log for point-in-time recovery. The thread ID is now set correctly.