------------------------------------------------------------
revno: 476
revision-id: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Wed 2007-06-06 11:13:24 +1000
message:
  - fixed flags display in logs
  - added monitor handler to test event script
modified:
  common/ctdb_recoverd.c         recoverd.c-20070503213540-bvxuyd9jm1f7ig90-1
  tests/events                   events-20070601105359-jc8p0xp6iq7phful-1
=== modified file 'common/ctdb_recoverd.c'
--- a/common/ctdb_recoverd.c    2007-06-06 00:25:46 +0000
+++ b/common/ctdb_recoverd.c    2007-06-06 01:13:24 +0000
@@ -991,8 +991,7 @@
                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;
        

=== modified file 'tests/events'
--- a/tests/events      2007-06-01 10:54:26 +0000
+++ b/tests/events      2007-06-06 01:13:24 +0000
@@ -5,6 +5,10 @@
 shift
 
 case $cmd in 
+    monitor)
+       echo "`date` monitor event"
+       exit 0
+       ;;
      startup)
        echo "`date` ctdb startup event"
        exit 0; 

Reply via email to