summaryrefslogtreecommitdiffstats
path: root/ctdb
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2013-08-27 12:19:18 +1000
committerAmitay Isaacs <amitay@gmail.com>2013-09-19 12:54:30 +1000
commita1f915f6b524af467cf22e195286b6b4f0c93685 (patch)
tree34695557564bf250cf3095ccdb86d476e8651e72 /ctdb
parent701c450e901170b7ba69d85294b748d5ebde31db (diff)
downloadsamba-a1f915f6b524af467cf22e195286b6b4f0c93685.tar.gz
samba-a1f915f6b524af467cf22e195286b6b4f0c93685.tar.xz
samba-a1f915f6b524af467cf22e195286b6b4f0c93685.zip
recoverd: takeover_fail_callback() doesn't need to set rec->need_takeover_run
It is set on every failure anyway. Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit e5f94c7857405bdeac233069003c3769b3dc3616)
Diffstat (limited to 'ctdb')
-rw-r--r--ctdb/server/ctdb_recoverd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ctdb/server/ctdb_recoverd.c b/ctdb/server/ctdb_recoverd.c
index 7cb29e8d57..32c3fde93e 100644
--- a/ctdb/server/ctdb_recoverd.c
+++ b/ctdb/server/ctdb_recoverd.c
@@ -1546,7 +1546,6 @@ static void takeover_fail_callback(struct ctdb_context *ctdb, uint32_t node_pnn,
DEBUG(DEBUG_ERR, ("Setting node %u as recovery fail culprit\n", node_pnn));
ctdb_set_culprit(rec, node_pnn);
- rec->need_takeover_run = true;
}
}