diff options
| author | Alan Conway <aconway@apache.org> | 2008-09-26 20:01:27 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2008-09-26 20:01:27 +0000 |
| commit | 4ae784ffe9c552cf4f113b340c502860cfa3c391 (patch) | |
| tree | 075d820db8632f6fda9e069903fc18491d26d71d /qpid/cpp | |
| parent | a49b642bf62a0e65b8f4116b7de0bb914cb09e44 (diff) | |
| download | qpid-python-4ae784ffe9c552cf4f113b340c502860cfa3c391.tar.gz | |
Call updateMemberStats for the first member of the cluster.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@699472 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp')
| -rw-r--r-- | qpid/cpp/src/qpid/cluster/JoiningHandler.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qpid/cpp/src/qpid/cluster/JoiningHandler.cpp b/qpid/cpp/src/qpid/cluster/JoiningHandler.cpp index 8a05068796..58c444ac62 100644 --- a/qpid/cpp/src/qpid/cluster/JoiningHandler.cpp +++ b/qpid/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(); } } |
