You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by cc...@apache.org on 2008/09/16 21:40:48 UTC
svn commit: r696027 -
/incubator/qpid/trunk/qpid/cpp/src/qpid/cluster/Cluster.cpp
Author: cctrieloff
Date: Tue Sep 16 12:40:48 2008
New Revision: 696027
URL: http://svn.apache.org/viewvc?rev=696027&view=rev
Log:
- implement mgnt clusternode stop
Modified:
incubator/qpid/trunk/qpid/cpp/src/qpid/cluster/Cluster.cpp
Modified: incubator/qpid/trunk/qpid/cpp/src/qpid/cluster/Cluster.cpp
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/src/qpid/cluster/Cluster.cpp?rev=696027&r1=696026&r2=696027&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/cpp/src/qpid/cluster/Cluster.cpp (original)
+++ incubator/qpid/trunk/qpid/cpp/src/qpid/cluster/Cluster.cpp Tue Sep 16 12:40:48 2008
@@ -244,8 +244,7 @@
// FIXME aconway 2008-09-11: this should be logged as critical,
// when we provide admin option to shut down cluster and let
// members leave cleanly.
- QPID_LOG(notice, self << " disconnected from cluster " << name.str());
- broker.shutdown();
+ stopClusterNode();
}
void Cluster::configChange(
@@ -385,6 +384,8 @@
void Cluster::stopClusterNode(void)
{
+ QPID_LOG(notice, self << " disconnected from cluster " << name.str());
+ broker.shutdown();
}
void Cluster::stopFullCluster(void)