Details
-
Bug
-
Status: In Review (View Workflow)
-
Minor
-
Resolution: Unresolved
-
11.5.1, 11.6.1, 11.7.1, 11.8.1
Description
For replicas that don't support GTIDs, a MariaDB primary will convert its GTID event into a Query log event with the query BEGIN. This event writes zeroes for the Query log event's thread_id, however, since MDEV-7850, where GTID events were extended with thread_id, we can now populate the thread_id of the generated Query log event with that same value. Note this GTID to Query log event logic happens in function Query_log_event::begin_event (in sql/log_event.cc).
Note that the inverse (i.e. MySQL Master -> MariaDB Slave (w/ MDEV-7850)) will correctly populate the thread_id of the GTID event using the thread_id of the Query log event, so nothing needs to be done in this case.
Attachments
Issue Links
- relates to
-
MDEV-28906 MySQL 8.0 desired compatibility
-
- Open
-
-
MDEV-7850 Extend GTID Binlog Events with Thread Id
-
- Closed
-
Activity
Description |
For replicas that don't support GTIDs, a MariaDB primary will convert its GTID event into a Query log event with the query BEGIN. This event writes zeroes for the Query log event's thread_id, however, since |
For replicas that don't support GTIDs, a MariaDB primary will convert its GTID event into a Query log event with the query BEGIN. This event writes zeroes for the Query log event's thread_id, however, since Note that the inverse (i.e. MySQL Master -> MariaDB Slave) will correctly populate the thread_id of the GTID event using the thread_id of the Query log event, so nothing needs to be done in this case. |
Description |
For replicas that don't support GTIDs, a MariaDB primary will convert its GTID event into a Query log event with the query BEGIN. This event writes zeroes for the Query log event's thread_id, however, since Note that the inverse (i.e. MySQL Master -> MariaDB Slave) will correctly populate the thread_id of the GTID event using the thread_id of the Query log event, so nothing needs to be done in this case. |
For replicas that don't support GTIDs, a MariaDB primary will convert its GTID event into a Query log event with the query BEGIN. This event writes zeroes for the Query log event's thread_id, however, since Note that the inverse (i.e. MySQL Master -> MariaDB Slave (w/ |
Link | This issue relates to MDEV-28906 [ MDEV-28906 ] |
Link | This issue relates to MENT-2180 [ MENT-2180 ] |
Assignee | Jimmy Hú [ JIRAUSER55761 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Assignee | Jimmy Hú [ JIRAUSER55761 ] | Brandon Nesterenko [ JIRAUSER48702 ] |
Status | In Progress [ 3 ] | In Review [ 10002 ] |
Assignee | Brandon Nesterenko [ JIRAUSER48702 ] | Jimmy Hú [ JIRAUSER55761 ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Assignee | Jimmy Hú [ JIRAUSER55761 ] | Brandon Nesterenko [ JIRAUSER48702 ] |
Status | Stalled [ 10000 ] | In Review [ 10002 ] |
https://github.com/MariaDB/server/pull/3707