mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
ctdb-daemon: Start as disabled means PERMANENTLY_DISABLED
DISABLED is UNHEALTHY | PERMANENTLY_DISABLED, which is not what is intended here. Luckily, it doesn't do any harm because nodes are marked unhealthy at startup anyway. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14784 Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
parent
1ac7bc7532
commit
60c1ef1465
@ -1274,7 +1274,7 @@ static void initialise_node_flags (struct ctdb_context *ctdb)
|
||||
/* do we start out in DISABLED mode? */
|
||||
if (ctdb->start_as_disabled != 0) {
|
||||
D_ERR("This node is configured to start in DISABLED state\n");
|
||||
node->flags |= NODE_FLAGS_DISABLED;
|
||||
node->flags |= NODE_FLAGS_PERMANENTLY_DISABLED;
|
||||
}
|
||||
/* do we start out in STOPPED mode? */
|
||||
if (ctdb->start_as_stopped != 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user