create a define to represent the 'invalid' generation id we used in two
authorRonnie Sahlberg <sahlberg@ronnie>
Wed, 22 Aug 2007 02:38:31 +0000 (12:38 +1000)
committerRonnie Sahlberg <sahlberg@ronnie>
Wed, 22 Aug 2007 02:38:31 +0000 (12:38 +1000)
commitf6e0336b23e04ac68546cca4f63227139bebcb91
tree4fa36c94ebdc7e583cb82e6460bd9499c1075ed6
parente3b6d1e511b03d03219b6c21312a902ff848fe5b
create a define to represent the 'invalid' generation id we used in two
places.

create a new helper function to generate new generation id values that
know about the invalid id and avoids generating it.

update the ctdb status tool to know about the invalid generation id and
print the string INVALID instead

(This used to be ctdb commit 4fbcd189543cb8a92227fdcd3d158472e558ccda)
ctdb/include/ctdb_private.h
ctdb/server/ctdb_monitor.c
ctdb/server/ctdb_recoverd.c
ctdb/server/ctdb_server.c
ctdb/tools/ctdb.c