add a mapping table from a hash value to a lmaster vnn number
authorRonnie Sahlberg <sahlberg@ronnie>
Fri, 27 Apr 2007 08:43:52 +0000 (18:43 +1000)
committerRonnie Sahlberg <sahlberg@ronnie>
Fri, 27 Apr 2007 08:43:52 +0000 (18:43 +1000)
commitec3856ead9089954ad61c539806262329c934dc6
treee5c5cb97858398ce081cb42f33affe1316126643
parent7d3ab0f5fba2be21802709ee41862db36ab24ac5
add a mapping table from a hash value to a lmaster vnn number

update ctdb_lmaster() return the lmaster based on this tables contents

initialize the vnn table based on number of nodes for now.
later when recovery is implemented the recovery process will populate
this mapping table.

(This used to be ctdb commit 71e440f6c26ea074f9887237c962101c8cef8c80)
ctdb/common/cmdline.c
ctdb/common/ctdb_daemon.c
ctdb/common/ctdb_ltdb.c
ctdb/include/ctdb_private.h