mirror of
https://github.com/samba-team/samba.git
synced 2025-03-01 04:58:35 +03:00
ctdbd: Log node state transitions at higher debug level
Signed-off-by: Amitay Isaacs <amitay@gmail.com> (This used to be ctdb commit db31dc48bd3135e9242af08bb79b67a17a2b1668)
This commit is contained in:
parent
09679d441b
commit
140336383b
@ -1376,7 +1376,7 @@ int32_t ctdb_control_set_recmaster(struct ctdb_context *ctdb, uint32_t opcode, T
|
||||
|
||||
int32_t ctdb_control_stop_node(struct ctdb_context *ctdb)
|
||||
{
|
||||
DEBUG(DEBUG_INFO,(__location__ " Stopping node\n"));
|
||||
DEBUG(DEBUG_NOTICE, ("Stopping node\n"));
|
||||
ctdb_disable_monitoring(ctdb);
|
||||
ctdb->nodes[ctdb->pnn]->flags |= NODE_FLAGS_STOPPED;
|
||||
|
||||
@ -1385,7 +1385,7 @@ int32_t ctdb_control_stop_node(struct ctdb_context *ctdb)
|
||||
|
||||
int32_t ctdb_control_continue_node(struct ctdb_context *ctdb)
|
||||
{
|
||||
DEBUG(DEBUG_INFO,(__location__ " Continue node\n"));
|
||||
DEBUG(DEBUG_NOTICE, ("Continue node\n"));
|
||||
ctdb->nodes[ctdb->pnn]->flags &= ~NODE_FLAGS_STOPPED;
|
||||
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user