vacuum: check lmaster against num_nodes instead of vnn_map->size
authorMichael Adam <obnox@samba.org>
Thu, 3 Feb 2011 11:15:41 +0000 (12:15 +0100)
committerStefan Metzmacher <metze@samba.org>
Mon, 18 Apr 2011 15:09:03 +0000 (17:09 +0200)
commit8dce755e51ff0534d8439ac4465607b7413946ed
tree888d65a05c860231777c35b332a5c07e63b78878
parentf1b1718a0f66d5e58f6800a117f98c20a4577e0e
vacuum: check lmaster against num_nodes instead of vnn_map->size

When lmaster is bigger than the biggest recorded node number,
then exit the traverse with error.
(cherry picked from commit 3930c7796b72bbf275bbca8aaeceec3e705a964b)

Signed-off-by: Stefan Metzmacher <metze@samba.org>
server/ctdb_vacuum.c