| Virtually Synchronous Multi-Primary Replication & Certification | Configures certification-based replication with wsrep_certify_nonPK=ON, tuned wsrep_slave_threads aligned to CPU cores, and deterministic primary key range conflict detection for true RPO=0 synchronous clustering. | Runs default single wsrep_slave_thread and ignores write conflicts, causing write-set certification backlogs and app-level transaction deadlocks. | Treats Galera like standard async MySQL master-slave; uses raw multi-master writes without conflict-aware transaction retries, causing data rollbacks. | Deploys multi-master without understanding optimistic locking or write-set certification, generating unhandled wsrep certification aborts. |
| Flow Control (gcs.fc_limit) & Slave Queue Memory Sizing | Calibrates gcs.fc_limit, gcs.fc_factor, and wsrep_local_recv_queue sizing with proactive telemetry to eliminate flow control pauses (wsrep_flow_control_paused=0) under write spikes. | Leaves gcs.fc_limit at default (16), causing a single slow disk or donor node to trigger cluster-wide write freezes during batch imports. | Blindly increases gcs.fc_limit to extreme values, causing runaway slave queue memory consumption and out-of-memory kernel panics. | Does not monitor wsrep_flow_control_paused; misattributes cluster-wide transaction stalls to network outages or web application bugs. |
| State Transfer Optimization (SST via mariabackup vs IST) | Hardens mariabackup non-blocking SST with dedicated replication VLANs and sizes gcache.size so maintenance restarts can rejoin via fast Incremental State Transfers (IST) instead of full SST. | Relies on blocking rsync SST or undersized gcache (128MB), forcing heavy full SST copies that evict donor nodes from serving live production traffic. | Uses deprecated mysqldump SST, taking global table locks on donor nodes and crashing production application response times. | Lets joiner nodes crash due to timeout during large SST transfers without configuring stream compression or parallel donor threads. |
| Split-Brain Protection & Galera Arbitrator (garbd) Quorum | Deploys odd-numbered voting topologies across availability zones using Galera Arbitrator (garbd) with evs.suspect_timeout and evs.inactive_timeout hardened for cloud networks. | Deploys an even 2-node cluster without an arbiter; a transient network partition triggers split-brain and non-primary component isolation on both nodes. | Relies on manual wsrep_cluster_address resets or unsafe pc.ignore_sb=TRUE, risking silent data divergences across divergent partitions. | Ignores quorum requirements entirely; leaves partitioned nodes running in non-primary state unable to accept write operations. |
| MaxScale Read/Write Splitting & Causal Consistency Routing | Integrates MaxScale with Galera-Monitor, causal_reads=true, and master_failure_mode=fail_on_write, preventing stale reads after writes and enabling transparent failover. | Uses basic round-robin HAProxy without wsrep status checks, routing application write traffic to non-primary or desynchronized joiner nodes. | Hardcodes node IPs directly in application connection pools, requiring manual configuration edits and service restarts during node outages. | Connects applications directly to random Galera nodes without proxy layers, causing frequent cross-node write lock deadlocks and timeouts. |
| Disaster Recovery & Automated Primary Component Rebootstrap | Architects automated cluster bootstrap recovery using grastate.dat safe_to_bootstrap discovery, coordinated binary log sequence analysis, and PITR via encrypted mariadb-backup. | Manually edits safe_to_bootstrap: 1 on a random node during power outages without seqno verification, causing silent data loss of recent commits. | Attempts mysqld_safe --wsrep-new-cluster on an outdated node, overwriting the true latest state and corrupting cluster GTID sequence tracking. | Restores stale logical SQL dumps after cluster crashes instead of safely re-bootstrapping existing Galera storage engines. |