summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-09-26 20:01:27 +0000
committerAlan Conway <aconway@apache.org>2008-09-26 20:01:27 +0000
commit41b2637e20345f264cff40be2885729c315e5828 (patch)
treed4bc9b1686998541e80422c710e2bc697e0464db /cpp/src
parent1f1cb9cb6150d5174898a95c6c27ae8d631147d9 (diff)
downloadqpid-python-41b2637e20345f264cff40be2885729c315e5828.tar.gz
Call updateMemberStats for the first member of the cluster.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@699472 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/qpid/cluster/JoiningHandler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/qpid/cluster/JoiningHandler.cpp b/cpp/src/qpid/cluster/JoiningHandler.cpp
index 8a05068796..58c444ac62 100644
--- a/cpp/src/qpid/cluster/JoiningHandler.cpp
+++ b/cpp/src/qpid/cluster/JoiningHandler.cpp
@@ -41,6 +41,7 @@ void JoiningHandler::configChange(
if (nLeft == 0 && nCurrent == 1 && *current == cluster.self) { // First in cluster.
QPID_LOG(notice, cluster.self << " first in cluster.");
cluster.map.ready(cluster.self, cluster.url);
+ cluster.updateMemberStats();
cluster.unstall();
}
}