Skip to content

Commit

Permalink
minor symfony#9495 Specify how provide a high availability (jderusse,…
Browse files Browse the repository at this point in the history
… javiereguiluz)

This PR was merged into the 3.4 branch.

Discussion
----------

Specify how provide a high availability

Fixes symfony/symfony#26026

Commits
-------

2d8e18b Reword
bd5a472 Specify how provide a high availability
  • Loading branch information
javiereguiluz committed Mar 26, 2018
2 parents 9ea757d + 2d8e18b commit 57171ea
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions components/lock.rst
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,13 @@ Instead of the simple majority strategy (``ConsensusStrategy``) an
``UnanimousStrategy`` can be used to require the lock to be acquired in all
the stores.

.. caution::

In order to get high availability when using the ``ConsensusStrategy``, the
minimum cluster size must be three servers. This allows the cluster to keep
working when a single server fails (because this strategy requires that the
lock is acquired in more than half of the servers).

Reliability
-----------

Expand Down

0 comments on commit 57171ea

Please sign in to comment.