Merge pull request #3078 from weaveworks/clarify-rmpeer-caution
clarify rmpeer caution in docs
This commit is contained in:
commit
0521bdb3b9
1 file changed
+13
-13
@@ -37,22 +37,22 @@ name. Alternatively, you can supply a peer name as shown in `weave status`.
|
|||||||
|
|
||||||
### <a name="caution-rmpeer"></a>Caution###
|
### <a name="caution-rmpeer"></a>Caution###
|
||||||
|
|
||||||
You cannot call `weave rmpeer` on more than one host. The address
|
Do not invoke `weave rmpeer` for the same peer on more than one
|
||||||
space, which was owned by the stale peer cannot be left dangling, and
|
host.
|
||||||
as a result it gets reassigned. In this instance, the address is
|
|
||||||
reassigned to the peer on which `weave rmpeer` was run. Therefore, if
|
|
||||||
you run `weave forget` and then `weave rmpeer` on more than one host
|
|
||||||
at a time, it results in duplicate IPs on more than one host.
|
|
||||||
|
|
||||||
Once the peers detect the inconsistency, they log the error and drop
|
The removed peer's address range cannot be left dangling and is
|
||||||
|
therefore reassigned to the peer on which `weave rmpeer` was
|
||||||
|
run. Consequently, if you run `weave rmpeer` for the same peer on more
|
||||||
|
than one host, the removed peer's address range will be owned by
|
||||||
|
multiple peers.
|
||||||
|
|
||||||
|
Once the peers detect this inconsistency, they log the error and drop
|
||||||
the connection that supplied the inconsistent data. The rest of the
|
the connection that supplied the inconsistent data. The rest of the
|
||||||
peers will carry on with their view of the world, but the network will
|
peers will carry on with their view of the world, but the network will
|
||||||
not function correctly.
|
not function correctly. Depending on the timing of the `rmpeer` and
|
||||||
|
the communication between peers, several peer cliques may form -
|
||||||
Some peers may be able to communicate their claim to the others before
|
groups of peers that are talking to each other, but repeatedly drop
|
||||||
they run `rmpeer` (i.e. it's a race), so what you can expect is a few
|
attempted connections with peers in other cliques.
|
||||||
cliques of peers that are still talking to each other, but repeatedly
|
|
||||||
dropping attempted connections with peers in other cliques.
|
|
||||||
|
|
||||||
**See Also**
|
**See Also**
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user