ZeroDailyGet it on Google Play

The risky math of Galera cluster weights: Why even nodes are a dangerous game.

Original headline: Just Because You Can, Doesn't Mean You Should: Re-Evaluating Galera Node Weights — percona.com

More in Programming and developer news

The article dives into the advanced, and often misunderstood, configuration of node weights in Galera-based database clusters like Percona XtraDB Cluster. While the standard advice is to use an odd number of nodes to ensure a clean majority for quorum, the `pc.weight` setting allows administrators to assign different voting weights to each node, theoretically enabling even-numbered clusters.

However, the core message is a warning. The process of manually assigning and distributing these weights is complex and error-prone. The article explains how miscalculations can lead to split-brain scenarios where the cluster becomes inconsistent and unresponsive. The clear takeaway is that while the technical capability exists, the risk of catastrophic data corruption makes it a dangerous practice reserved for experts who fully understand the quorum calculation mechanics.

Read the original at percona.com

Satirical commentary on real tech news, summarised with AI. Read the original source for the facts. How ZeroDaily works

Open in the appGet it on Google Play

More stories

Add ZeroDaily on Google