summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/cluster
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2009-02-17 20:18:38 +0000
committerAlan Conway <aconway@apache.org>2009-02-17 20:18:38 +0000
commit449d9d326b7cea02934c3e7e8ea7e84a817e47ac (patch)
tree4ecd016673b36dede5b99a7267be9c0a1eff3118 /cpp/src/qpid/cluster
parent4ddd827fc647d9b7a80de30b361e208b44ee2e13 (diff)
downloadqpid-python-449d9d326b7cea02934c3e7e8ea7e84a817e47ac.tar.gz
Minor fixes.
client/SubscriptionManager: made it thread safe, was causing latencytest to crash with --rate and --time-limit. cluster/Cluster.cpp: don't call cpg_leave during shutdown. Not required and a problem if shutdown was caused by a cpg error. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@745226 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster')
-rw-r--r--cpp/src/qpid/cluster/Cluster.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/cpp/src/qpid/cluster/Cluster.cpp b/cpp/src/qpid/cluster/Cluster.cpp
index f845492dbc..6221b0054c 100644
--- a/cpp/src/qpid/cluster/Cluster.cpp
+++ b/cpp/src/qpid/cluster/Cluster.cpp
@@ -193,10 +193,6 @@ void Cluster::leave(Lock&) {
if (state != LEFT) {
state = LEFT;
QPID_LOG(notice, *this << " leaving cluster " << name);
- try { cpg.leave(); }
- catch (const std::exception& e) {
- QPID_LOG(critical, *this << " error leaving process group: " << e.what());
- }
connections.clear();
try { broker.shutdown(); }
catch (const std::exception& e) {
@@ -371,7 +367,6 @@ void Cluster::tryMakeOffer(const MemberId& id, Lock& ) {
// callbacks will be invoked.
//
void Cluster::brokerShutdown() {
- QPID_LOG(notice, *this << " shutting down ");
if (state != LEFT) {
try { cpg.shutdown(); }
catch (const std::exception& e) {