[MDEV-33168] XA crash-recovery base on engines prepare first rule Created: 2024-01-03 Updated: 2024-02-06 |
|
| Status: | In Progress |
| Project: | MariaDB Server |
| Component/s: | Replication, Server, XA |
| Affects Version/s: | 10.4, 10.5, 10.6, 10.11, 11.1, 11.2, 11.3 |
| Fix Version/s: | 10.5, 10.6, 10.11, 11.1, 11.2, 11.3 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Andrei Elkin | Assignee: | Andrei Elkin |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
This ticket covers XA binlog-based crash-recovery to base on and complement MDEV-32830/MDEV-31949 patch. MDEV-32830 refines XA prepare binlogging in that
To resolve a dilemma of whether such "orphan" (engine-only) XID did indeed missed binlogging on the eve of crash, or it was prepared some time ago (maybe in a previous server incarnation) a Xid_log_list_event is introduced to contain xid:s of prepared user xa:s at time of binlog rotation (including one that is caused by RESET MASTER). This algorithm must comply with |
| Comments |
| Comment by Andrei Elkin [ 2024-01-09 ] | |
|
The status update is here. | |
| Comment by Andrei Elkin [ 2024-01-10 ] | |
|
The recovery related part IV of the branch is updated
still to miss out the Xid_list_log_event integration. That's scheduled for tomorrow. | |
| Comment by Andrei Elkin [ 2024-01-12 ] | |
|
The recovery related part IV of the branch is updated not yet to the review ready
It extends the semisync slave XA recovery test base, fix !HAVE_REPLICATION compile et al. |