~/talk

Galera Cluster Data Consistency

links:none on file
slides:none on file

Explains concrete failure modes and fixes: state snapshot transfers via mysqldump, rsync, xtrabackup can seed a bad node; session flags (wsrep_on/sql_log_bin) and replication filtering or DDL/events cause missing or extra rows; flow control defaults to ~16 uncommitted transactions so fast reads can miss writes. Current policy is Galera 3 emergency abort on any DML apply error, forcing SST full copies; Galera 4 adds a consistency voting protocol to avoid whole-cluster crashes and supports coordinated checks using pt-table-checksum style insert-select for early detection.

AI-written summary · about

  1. 0:00Intro
  2. 2:00Galera Project
  3. 3:00MariaDB Galera Cluster
  4. 3:38Agenda
  5. 4:56Master-Slave Async Replication
  6. 6:29Inconsistency for Master-Slave
  7. 8:36Reasons for Inconsistency
  8. 14:34Consistent Reads from a Cluster
  9. 17:16Read Causality
  10. 21:38Triggers, Stored Procedures, Events
  11. 26:07The Harm Done
  12. 27:21Inconsistency for Multi-Master
  13. 29:17Could Some Errors Be Neglected?
  14. 34:16About Foreign Key Constraint
  15. 35:17How to Recover from Inconsistency
  16. 39:02Detecting Inconsistencies up-front
  17. 40:20Galera Consistency Checking
  18. 44:23Optimizing Inconsistency Shutdown
  19. 46:49Optimizing Consistency Shutdown
  20. 48:28Galera Consistency Voting Protocol
  21. 48:57Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.