All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Jepsen Analysis: MariaDB Galera Cluster 12.1.2 Fails "No Lost Transactions" Guarantee

By

aphyr

2mo ago· 14 min readenInsight

Summary

Jepsen's independent analysis reveals that MariaDB Galera Cluster 12.1.2 fails to deliver on its "no lost transactions" guarantee. The research identifies two specific scenarios where transactions are lost: 1) under recommended configuration settings where data isn't flushed to disk before acknowledgement, allowing committed transactions to be lost during rapid node crashes, and 2) occasional transaction loss during process crashes and network partitions. Even without faults, the system allows P4 (Lost Update) violations and exhibits Stale Read issues, failing to satisfy its claimed isolation level between Serializable and Repeatable Read.

Key quotes

· 4 pulled
While MariaDB claims Galera ensures 'no lost transactions', it loses transactions in at least two scenarios.
First, under the recommended configuration settings it does not flush data to disk before acknowledgement; committed transactions can be lost when nodes crash in quick succession.
Second, it occasionally loses committed transactions with process crashes and network partitions.
Even without faults, MariaDB Galera Cluster allows P4 (Lost Update), and therefore fails to satisfy its claimed isolation level 'between Serializable and Repeatable Read'.
Snippet from the RSS feed
MariaDB Galera Cluster is a replicated version of MariaDB, a popular SQL database. While MariaDB claims Galera ensures “no lost transactions”, it loses transactions in at least two scenarios. First, under the recommended configuration settings

You might also wanna read