You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2008/09/26 22:01:27 UTC

svn commit: r699472 - /incubator/qpid/trunk/qpid/cpp/src/qpid/cluster/JoiningHandler.cpp

Author: aconway
Date: Fri Sep 26 13:01:27 2008
New Revision: 699472

URL: http://svn.apache.org/viewvc?rev=699472&view=rev
Log:
Call updateMemberStats for the first member of the cluster.

Modified:
    incubator/qpid/trunk/qpid/cpp/src/qpid/cluster/JoiningHandler.cpp

Modified: incubator/qpid/trunk/qpid/cpp/src/qpid/cluster/JoiningHandler.cpp
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/src/qpid/cluster/JoiningHandler.cpp?rev=699472&r1=699471&r2=699472&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/cpp/src/qpid/cluster/JoiningHandler.cpp (original)
+++ incubator/qpid/trunk/qpid/cpp/src/qpid/cluster/JoiningHandler.cpp Fri Sep 26 13:01:27 2008
@@ -41,6 +41,7 @@
     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();
     }
 }