git.samba.org
/
rusty
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c63858
)
always send the release/take ip controls to make sure all nodes are updated
author
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Tue, 6 Oct 2009 01:25:44 +0000
(12:25 +1100)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Tue, 6 Oct 2009 01:25:44 +0000
(12:25 +1100)
tools/ctdb.c
patch
|
blob
|
history
diff --git
a/tools/ctdb.c
b/tools/ctdb.c
index 6ae42953ff9cda4d186036ed9a6f72dd4878601b..0e8a1dc250ae5c3fdf3c2f7f641bcbed09142887 100644
(file)
--- a/
tools/ctdb.c
+++ b/
tools/ctdb.c
@@
-897,12
+897,6
@@
static int move_ip(struct ctdb_context *ctdb, ctdb_sock_addr *addr, uint32_t pnn
talloc_free(tmp_ctx);
return -1;
}
- if (ips->ips[i].pnn == pnn) {
- DEBUG(DEBUG_ERR, ("Host %u is already hosting '%s'\n",
- pnn, ctdb_addr_to_str(&ips->ips[i].addr)));
- talloc_free(tmp_ctx);
- return -1;
- }
ip.pnn = pnn;
ip.addr = *addr;