Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update weightedquorum.rst #183

Open
wants to merge 1 commit into
base: draft
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions galeracluster/source/weightedquorum.rst
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ The quorum calculation formula is

.. math::
\frac{ \sum_{p_i \times w_i} - \sum_{l_i \times w_i}}
{ 2} < \sum_{m_i \times w_i}
{ 2} <= \sum_{m_i \times w_i}

.. The original equation read (sum(p_i * w_i) - sum(l_i * w_i)) / 2 < sum(m_i * w_i). Remove this comment after confirming that the LaTeX renders correctly.
.. The original equation read (sum(p_i * w_i) - sum(l_i * w_i)) / 2 <= sum(m_i * w_i). Remove this comment after confirming that the LaTeX renders correctly.

Where:

Expand All @@ -103,7 +103,7 @@ Where:

- :math:`w_i` Member weights.

What this means is that the quorum is preserved if (and only if) the sum weight of the nodes in a new component strictly exceeds half that of the preceding :term:`Primary Component`, minus the nodes which left gracefully.
What this means is that the quorum is preserved if (and only if) the sum weight of the nodes in a new component exceeds or is equal to half that of the preceding :term:`Primary Component`, minus the nodes which left gracefully.

You can customize node weight using the :ref:`pc.weight <pc.weight>` parameter. By default, node weight is ``1``, which translates to the traditional node count behavior.

Expand Down