diff options
author | Alan Conway <aconway@apache.org> | 2010-03-08 17:34:09 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2010-03-08 17:34:09 +0000 |
commit | c1266e53dd9c20447f658b050fb789d4f0f9ab12 (patch) | |
tree | 513716e9b9b97f57c5493a9ec2e5186ef78c811e /cpp/src/qpid/cluster/Cluster.cpp | |
parent | b97d2e0e9246a19eb155a38b9b06a9550ceb06aa (diff) | |
download | qpid-python-c1266e53dd9c20447f658b050fb789d4f0f9ab12.tar.gz |
QPID-2436: Fix cluster update of remote agents.
The v2key of cluster agents was not being passed as part of a cluster update.
This meant they were not being associated with the correct shadow connections on
the updatee. This caused inconsistencies that shut down the new broker.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@920414 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/Cluster.cpp')
-rw-r--r-- | cpp/src/qpid/cluster/Cluster.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/cpp/src/qpid/cluster/Cluster.cpp b/cpp/src/qpid/cluster/Cluster.cpp index b6ee2db362..92e2b65fe2 100644 --- a/cpp/src/qpid/cluster/Cluster.cpp +++ b/cpp/src/qpid/cluster/Cluster.cpp @@ -198,8 +198,12 @@ struct ClusterDispatcher : public framing::AMQP_AllOperations::ClusterHandler { framing::cluster::StoreState(storeState), shutdownId, firstConfig, l); } - void ready(const std::string& url) { cluster.ready(member, url, l); } - void configChange(const std::string& current) { cluster.configChange(member, current, l); } + void ready(const std::string& url) { + cluster.ready(member, url, l); + } + void configChange(const std::string& current) { + cluster.configChange(member, current, l); + } void updateOffer(uint64_t updatee) { cluster.updateOffer(member, updatee, l); } |