Support non-electing peers via --observer

This commit is contained in:
Adam Harrison committed 2016-03-03 17:48:50 +00:00
1 parent 29674b7780
commit b84ef98de8
5 files changed
+137 -52

No files matched your search

+11
View File
@@ -60,6 +60,17 @@ through three states: 'deferred', 'waiting' and 'achieved':
themselves successfully
* 'achieved' - consensus achieved; allocations proceed normally
Finally, you may launch some peers as election observers using the
`--observer` option:
host4$ weave launch --observer $HOST3
You do not need to specify an initial count to such peers, as they do
not participate in the election - they await its outcome. This can be
useful to add ephemeral peers to an existing fixed cluster (for example
in response to a scale-out event) without worrying about adjusting
initial peer counts accordingly.
####<a name="quorum"></a> `--init-peer-count` and How Quorum is Achieved
Normally it isn't a problem to over-estimate `--init-peer-count`, but if you supply