[SCM] CTDB repository - branch master updated - ctdb-1.0.95-1-g346fa05
Ronnie Sahlberg
sahlberg at samba.org
Mon Oct 12 16:52:28 MDT 2009
The branch, master has been updated
via 346fa055f4106497b87df97da5ebd6e51fa1ef8c (commit)
from 3501d6b70bd905d6fdc4e74fe2cedc3ba77e4b86 (commit)
http://gitweb.samba.org/?p=sahlberg/ctdb.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 346fa055f4106497b87df97da5ebd6e51fa1ef8c
Author: Ronnie Sahlberg <ronniesahlberg at gmail.com>
Date: Tue Oct 13 09:49:05 2009 +1100
we must break the loop as soon as we find a suitable recmaster does exist
otherwise "tdb ipreallocate" will silently fail to update the addresses.
-----------------------------------------------------------------------
Summary of changes:
tools/ctdb.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/tools/ctdb.c b/tools/ctdb.c
index 0fe044a..ec70fe8 100644
--- a/tools/ctdb.c
+++ b/tools/ctdb.c
@@ -1687,8 +1687,10 @@ again:
if (nodemap->nodes[i].flags & (NODE_FLAGS_DELETED|NODE_FLAGS_BANNED|NODE_FLAGS_STOPPED)) {
continue;
}
+ break;
}
if (i == nodemap->num) {
+ DEBUG(DEBUG_ERR,("No possible nodes to host addresses.\n"));
return 0;
}
--
CTDB repository
More information about the samba-cvs
mailing list