diff options
author | Alan Conway <aconway@apache.org> | 2010-01-11 17:23:18 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2010-01-11 17:23:18 +0000 |
commit | 892e84f39a40a3868ca5630371784e883127f21a (patch) | |
tree | 913127cae64803e5b00589bf5257e3729c5c66e7 /cpp/src/qpid/cluster/Connection.h | |
parent | 7a3841889a648eac5f57305c80f1f25a01a115ee (diff) | |
download | qpid-python-892e84f39a40a3868ca5630371784e883127f21a.tar.gz |
Fix broker crash "confirmed N but only sent M" with managed agents running.
The broker's ManagementAgent caches schemas from managed agents.
This cache was not being replicated to new cluster members.
If an agent such as sesame was running and connected to a newly-joined
broker, that broker could send schema request messages which were not
sent by other brokers that had the schema in cache. This resulted in
the other brokers exiting with a "confirmed N but only sent M"
message.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@897955 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/Connection.h')
-rw-r--r-- | cpp/src/qpid/cluster/Connection.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/qpid/cluster/Connection.h b/cpp/src/qpid/cluster/Connection.h index 51e6107bfd..4795d914ed 100644 --- a/cpp/src/qpid/cluster/Connection.h +++ b/cpp/src/qpid/cluster/Connection.h @@ -167,6 +167,7 @@ class Connection : OutputInterceptor& getOutput() { return output; } void addQueueListener(const std::string& queue, uint32_t listener); + void managementSchema(const std::string& data); private: struct NullFrameHandler : public framing::FrameHandler { |