Details
-
Task
-
Status: In Progress (View Workflow)
-
Critical
-
Resolution: Unresolved
-
None
Description
The task is to improve on MDEV-742 design of the XA binlogging.
When binlog is ON, execute XA-{prepare, commit, rollback} via
MYSQL_BIN_LOG::run_ordered_commit, so that at the end of binlog_{prepare, commit, rollback} the operation over the xa transaction is completed as far as (parallel) replication/recovery is concerned. Specifically its XID is available for next use, incl for
xa-complete by another slave parallel commit/rollback or xa-start of a new same xid transaction.
Attachments
Issue Links
- blocks
-
MDEV-31949 slow parallel replication of user xa
- Stalled
-
MDEV-32896 Unstable XA + binglog tests, with possible MDEV-32830 caused issues
- Stalled
- causes
-
MDEV-32852 Assertion `is_prepared_xa(thd) || ((thd->lex->sql_command == SQLCOM_XA_ROLLBACK && thd->transaction->xid_state.get_state_code() == XA_IDLE) || thd->lex->xa_opt == XA_ONE_PHASE)' failed in TC_LOG::run_commit_ordered
- Closed
-
MDEV-32857 Assertion `thd->lex->sql_command == SQLCOM_XA_COMMIT || thd->lex->sql_command == SQLCOM_XA_ROLLBACK' failed in TC_LOG::run_commit_ordered
- Closed
- is blocked by
-
MDEV-32852 Assertion `is_prepared_xa(thd) || ((thd->lex->sql_command == SQLCOM_XA_ROLLBACK && thd->transaction->xid_state.get_state_code() == XA_IDLE) || thd->lex->xa_opt == XA_ONE_PHASE)' failed in TC_LOG::run_commit_ordered
- Closed
-
MDEV-32857 Assertion `thd->lex->sql_command == SQLCOM_XA_COMMIT || thd->lex->sql_command == SQLCOM_XA_ROLLBACK' failed in TC_LOG::run_commit_ordered
- Closed
- relates to
-
MDEV-31949 slow parallel replication of user xa
- Stalled
-
MDEV-32020 XA transaction replicates incorrectly, must be applied at XA COMMIT, not XA PREPARE
- Open