git.samba.org
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f505020
)
recoverd: update_capabilities() should use connected nodes
author
Martin Schwenke
<martin@meltin.net>
Mon, 18 Feb 2013 05:39:00 +0000
(16:39 +1100)
committer
Amitay Isaacs
<amitay@gmail.com>
Wed, 20 Feb 2013 03:51:24 +0000
(14:51 +1100)
... as the comment says... not just active nodes.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Pair-programmed-with: Amitay Isaacs <amitay@gmail.com>
server/ctdb_recoverd.c
patch
|
blob
|
history
diff --git
a/server/ctdb_recoverd.c
b/server/ctdb_recoverd.c
index 95172a1fd7739889e971fe447e709ecefe371926..1f2a772a2b7027d55bee6fe5180e1e9def3aeec0 100644
(file)
--- a/
server/ctdb_recoverd.c
+++ b/
server/ctdb_recoverd.c
@@
-254,7
+254,7
@@
static int update_capabilities(struct ctdb_context *ctdb, struct ctdb_node_map *
tmp_ctx = talloc_new(ctdb);
CTDB_NO_MEMORY(ctdb, tmp_ctx);
- nodes = list_of_
active
_nodes(ctdb, nodemap, tmp_ctx, true);
+ nodes = list_of_
connected
_nodes(ctdb, nodemap, tmp_ctx, true);
if (ctdb_client_async_control(ctdb, CTDB_CONTROL_GET_CAPABILITIES,
nodes, 0,
CONTROL_TIMEOUT(),