From 41b2637e20345f264cff40be2885729c315e5828 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Fri, 26 Sep 2008 20:01:27 +0000 Subject: 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 --- cpp/src/qpid/cluster/JoiningHandler.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'cpp/src/qpid') 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(); } } -- cgit v1.2.1