| Bug #81386 | MTS hangs on file related *_EVENT forced checkpoint | ||
|---|---|---|---|
| Submitted: | 12 May 2016 5:41 | Modified: | 8 Nov 2018 13:15 |
| Reporter: | Trey Raymond | Email Updates: | |
| Status: | Verified | Impact on me: | |
| Category: | MySQL Server: Replication | Severity: | S4 (Feature request) |
| Version: | 5.6.29 | OS: | Any |
| Assigned to: | CPU Architecture: | Any | |
[12 May 2016 5:41]
Trey Raymond
[12 May 2016 5:50]
Trey Raymond
peeking into 5.7 code, looks like a dev noted this issue as well and had some comments (but no change in the code): https://github.com/mysql/mysql-server/blob/5.7/sql/log_event.h#L1020-L1026
[7 Nov 2018 2:41]
Trey Raymond
linked to master so the comments got lost. pasted here out of the code:
/*
Slave workers are unable to handle Format_description_log_event,
Rotate_log_event and Previous_gtids_log_event correctly.
However, when a transaction spans multiple relay logs, these
events occur in the middle of a transaction. The way we handle
this is by marking the events as 'ASYNC', meaning that the
coordinator thread will handle the events without stopping the
worker threads.
@todo Refactor this: make Log_event::get_slave_worker handle
transaction boundaries in a more robust way, so that it is able
to process Format_description_log_event, Rotate_log_event, and
Previous_gtids_log_event. Then, when these events occur in the
middle of a transaction, make them part of the transaction so
that the worker that handles the transaction handles these
events too. /Sven
*/
[8 Nov 2018 13:15]
MySQL Verification Team
Hi, I have analysed the code and I came to the conclusion that this is not yet fixed, nor even in 5.7 nor 8.0. However, this is not a bug, but a new feature. Verified as a feature request !!!! Thank you for your report.
