1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/ctdb/tcp
Ronnie Sahlberg e6170b5389 add a new node state : DELETED.
This is used to mark nodes as being DELETED internally in ctdb
so that nodes are not renumbered if / when they are removed from the nodes file.

This is used to be able to do "ctdb reloadnodes" at runtime without
causing nodes to be renumbered.
To do this, instead of deleting a node from the nodes file, just comment it out like

   1.0.0.1
   #1.0.0.2
   1.0.0.3

After removing 1.0.0.2 from the cluster,  the remaining nodes retain their
pnn's from prior to the deletion, namely 0 and 2

Any line in the nodes file that is commented out represents a DELETED pnn

(This used to be ctdb commit 6a5e4fd7fa391206b463bb4e976502f3ac5bd343)
2009-06-01 14:18:34 +10:00
..
ctdb_tcp.h to make it easier/less disruptive to add nodes to a running cluster 2008-02-19 14:44:48 +11:00
tcp_connect.c add a new node state : DELETED. 2009-06-01 14:18:34 +10:00
tcp_init.c add a new node state : DELETED. 2009-06-01 14:18:34 +10:00
tcp_io.c merge from ronnie 2008-02-04 20:07:15 +11:00