Ignore bdr.bdr_connections rows where node is dropped
authorCraig Ringer <craig@2ndquadrant.com>
Tue, 13 Oct 2015 04:26:28 +0000 (12:26 +0800)
committerCraig Ringer <craig@2ndquadrant.com>
Tue, 13 Oct 2015 04:43:56 +0000 (12:43 +0800)
commit509848ae99b66420e7dab13df5fb4623a8a59ab6
treea883a647ceaf64e8537701345787fb8233d2a2ac
parent68bef3458355193670f08ec7e655f8f6bce31bfa
Ignore bdr.bdr_connections rows where node is dropped

If a node has been dropped or the entry in bdr.bdr_nodes
for it has been deleted we should ignore the node when
connecting to peers.

Failure to do so causes issues with joining new nodes
after a node is removed.

Fixes #97
Fixes #50
Fixes #126
bdr_catalogs.c