diff options
| author | Alan Conway <aconway@apache.org> | 2009-11-24 20:07:24 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2009-11-24 20:07:24 +0000 |
| commit | 0fb7ff9cfbfd01e9093c2c6021a5915696d2a089 (patch) | |
| tree | 1d2db335592be80a9aa9f8f404d2c1682afeb485 /cpp/src/qpid/cluster/InitialStatusMap.h | |
| parent | 1ee447563d208b39e962537a47f14aea741777b0 (diff) | |
| download | qpid-python-0fb7ff9cfbfd01e9093c2c6021a5915696d2a089.tar.gz | |
Support for restarting a persistent cluster.
Option --cluster-size=N: members wait for N members before recovering store.
Stores marked as clean/dirty. Automatically recover from clean store on restart.
Stores marked with UUID to detect errors.
Not yet implemented: consistency checks, manual recovery from all dirty stores.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@883842 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/InitialStatusMap.h')
| -rw-r--r-- | cpp/src/qpid/cluster/InitialStatusMap.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/cpp/src/qpid/cluster/InitialStatusMap.h b/cpp/src/qpid/cluster/InitialStatusMap.h index 9e9b71e363..72963ea2bb 100644 --- a/cpp/src/qpid/cluster/InitialStatusMap.h +++ b/cpp/src/qpid/cluster/InitialStatusMap.h @@ -57,15 +57,11 @@ class InitialStatusMap /**@pre isComplete(). @return Cluster-wide cluster ID. */ framing::Uuid getClusterId(); - /**@pre isComplete() && !isUpdateNeeded(). - *@return member->URL map for all members. - */ - std::map<MemberId, Url> getMemberUrls(); - private: typedef std::map<MemberId, boost::optional<Status> > Map; static bool notInitialized(const Map::value_type&); static bool isActive(const Map::value_type&); + static bool hasStore(const Map::value_type&); void check(); Map map; MemberSet firstConfig; |
