1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

- fixed flags display in logs

- added monitor handler to test event script

(This used to be ctdb commit a4c18dddee169df49e5d77d9a94ce9329f169319)
This commit is contained in:
Andrew Tridgell 2007-06-06 11:13:24 +10:00
parent eaf701fbda
commit cafddf76dc
2 changed files with 5 additions and 2 deletions

View File

@ -991,8 +991,7 @@ static void monitor_handler(struct ctdb_context *ctdb, uint64_t srvid,
return;
}
DEBUG(0,("Node %u has changed flags - was 0x%x now 0x%x\n",
c->vnn, nodemap->nodes[i].flags, c->flags));
DEBUG(0,("Node %u has changed flags - now 0x%x\n", c->vnn, c->flags));
nodemap->nodes[i].flags = c->flags;

View File

@ -5,6 +5,10 @@ cmd="$1"
shift
case $cmd in
monitor)
echo "`date` monitor event"
exit 0
;;
startup)
echo "`date` ctdb startup event"
exit 0;