Reject attempts to part from self, detect part from absent node
authorCraig Ringer <craig@2ndquadrant.com>
Wed, 17 Jun 2015 06:02:22 +0000 (14:02 +0800)
committerCraig Ringer <craig@2ndquadrant.com>
Wed, 17 Jun 2015 06:26:45 +0000 (14:26 +0800)
commit4f9d15a4c53794467c14cae0a1d7b13ed5ca829e
tree5f3a1991819985630c49d189d12f9759c8f74321
parent7a43863c22b295046c4ebcda996955583d65065e
Reject attempts to part from self, detect part from absent node

Reject attempts to part a node from its self. This seems like
a sensible thing to do, but we need to remove a node using another
node so that all peers find out about the removal.

Detect when asked to part a nonexistent node and complain instead
of silently doing nothing.

Also warn when asked to part a node that isn't in 'r' state.
expected/part_bdr.out
extsql/bdr--0.10.0.3--0.10.0.4.sql
sql/part_bdr.sql