diff options
author | Martin Schwenke <martin@meltin.net> | 2018-01-19 14:55:21 +1100 |
---|---|---|
committer | Amitay Isaacs <amitay@samba.org> | 2020-10-06 03:12:35 +0000 |
commit | 3ab52b528673e08caa66f00e963528c591a84fe1 (patch) | |
tree | a6fe508ed9e57561a148f344d667e6dbe5ff164c /ctdb | |
parent | 5cfc9271e4ec67c4ec2ec67d3989b8a96b6d621f (diff) | |
download | samba-3ab52b528673e08caa66f00e963528c591a84fe1.tar.gz |
ctdb-recoverd: Drop unnecessary code
This has already been done in update_flags().
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14513
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb')
-rw-r--r-- | ctdb/server/ctdb_recoverd.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/ctdb/server/ctdb_recoverd.c b/ctdb/server/ctdb_recoverd.c index aeb23276fe7..b69462094ee 100644 --- a/ctdb/server/ctdb_recoverd.c +++ b/ctdb/server/ctdb_recoverd.c @@ -2669,20 +2669,6 @@ static void main_loop(struct ctdb_context *ctdb, struct ctdb_recoverd *rec, } } - /* - * Update node flags obtained from each active node. This ensure we have - * up-to-date information for all the nodes. - */ - for (j=0; j<nodemap->num; j++) { - if (nodemap->nodes[j].pnn == ctdb->pnn) { - continue; - } - if (nodemap->nodes[j].flags & NODE_FLAGS_INACTIVE) { - continue; - } - nodemap->nodes[j].flags = remote_nodemaps[j]->nodes[j].flags; - } - for (j=0; j<nodemap->num; j++) { if (nodemap->nodes[j].pnn == ctdb->pnn) { continue; |