when a node becomes banned its databases are no longer part of ctdb
authorRonnie Sahlberg <sahlberg@ronnie>
Wed, 22 Aug 2007 00:38:35 +0000 (10:38 +1000)
committerRonnie Sahlberg <sahlberg@ronnie>
Wed, 22 Aug 2007 00:38:35 +0000 (10:38 +1000)
commitb531021db43ebaa5f5d0ace28c59913d359bd8a8
tree04773a8cbb91e98effc29ae8be1e6bc962420e15
parent221ef0348fd8113a017d229d8c2c7aa5c4dfb5c2
when a node becomes banned    its databases are no longer part of ctdb
and it should thus no longer serve any database access calls until it
has been reintroduced into the cluster.

when becoming banned,   reset the local generation id to 1   to prevent
any further database access calls from other nodes from being processed.
server/ctdb_monitor.c