~/talk

Crash-safe XA and its replication in MariaDB

Talkat MariaDB HA MiniFest 2021 · on Wednesday, 2021-03-24· [databases]
links:none on file
slides:none on file

MariaDB implements XA as fully crash-safe by writing the transaction body to the binlog before doing engine prepare, so a crash in the tiny window is recovered by roll-forward recovery from binlog rather than complex freshness logic. Fixes tracked as MDEV-742 and MDEV-21469 (with engine recovery via persistent binlog considered in MDEV-18959) cover multi-engine cases (InnoDB, RocksDB) and replication; benchmarks show sync_binlog=1 with innodb_flush_log_at_trx_commit=0 is both crash-safe for XA workloads and faster than the old defaults.

AI-written summary · about

  1. 0:00Introduction to XA in MariaDB
  2. 1:17XA transaction basics
  3. 3:00History of XA crash safety issues
  4. 7:38Crash recovery challenge for XA
  5. 12:14Solution for crash-safe XA
  6. 15:05Live demo of XA recovery
  7. 18:18Performance benefits of crash-safe XA
  8. 21:25Extending recovery to non-XA transactions
  9. 27:12Future plans for XA improvements
  10. 28:19Q&A on XA transactions
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.