Skip to content

Commit 57171ea

Browse files
committed
minor #9495 Specify how provide a high availability (jderusse, 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
2 parents 9ea757d + 2d8e18b commit 57171ea

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

components/lock.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,13 @@ Instead of the simple majority strategy (``ConsensusStrategy``) an
260260
``UnanimousStrategy`` can be used to require the lock to be acquired in all
261261
the stores.
262262

263+
.. caution::
264+
265+
In order to get high availability when using the ``ConsensusStrategy``, the
266+
minimum cluster size must be three servers. This allows the cluster to keep
267+
working when a single server fails (because this strategy requires that the
268+
lock is acquired in more than half of the servers).
269+
263270
Reliability
264271
-----------
265272

0 commit comments

Comments
 (0)