[Debian-ha-commits] [pacemaker] 03/05: Low: crmd: Add an extra log message for use in CTS testing

Christoph Berg myon at debian.org
Mon Jan 4 22:02:53 UTC 2016


This is an automated email from the git hooks/post-receive script.

myon pushed a commit to tag Pacemaker-0.6.1
in repository pacemaker.

commit 4d7402c272c4008a5ab17d670122ae9931a47c69
Author: Andrew Beekhof <andrew at beekhof.net>
Date:   Mon Feb 11 14:45:19 2008 +0100

    Low: crmd: Add an extra log message for use in CTS testing
    
    Mercurial revision: c59fcfaf1db7181c1252cbb7754e292905f8a55f
---
 crmd/join_dc.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/crmd/join_dc.c b/crmd/join_dc.c
index 93dd629..65f6c83 100644
--- a/crmd/join_dc.c
+++ b/crmd/join_dc.c
@@ -201,7 +201,10 @@ do_dc_join_offer_all(long long action,
 	initialize_join(TRUE);
 /* 	do_update_cib_nodes(TRUE, __FUNCTION__); */
 
-	update_dc(NULL, FALSE);	
+	update_dc(NULL, FALSE);
+	if(cause == C_HA_MESSAGE && current_input == I_NODE_JOIN) {
+	    crm_info("A new node joined the cluster");
+	}
 	g_hash_table_foreach(crm_peer_cache, join_make_offer, NULL);
 	
 	/* dont waste time by invoking the PE yet; */

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-ha/pacemaker.git



More information about the Debian-HA-Commits mailing list