summaryrefslogtreecommitdiff
path: root/qpid/cpp/xml
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2010-01-11 17:23:18 +0000
committerAlan Conway <aconway@apache.org>2010-01-11 17:23:18 +0000
commit291a25b980e537301b1ffc229e09e73a65113883 (patch)
tree41c879ba9def7584a57eb9e36cbab0181c66dc2a /qpid/cpp/xml
parent8d507066084d55e9a79f082d22651a55dfba88f2 (diff)
downloadqpid-python-291a25b980e537301b1ffc229e09e73a65113883.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@897955 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/xml')
-rw-r--r--qpid/cpp/xml/cluster.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/qpid/cpp/xml/cluster.xml b/qpid/cpp/xml/cluster.xml
index 2155b6374e..0359514294 100644
--- a/qpid/cpp/xml/cluster.xml
+++ b/qpid/cpp/xml/cluster.xml
@@ -226,5 +226,10 @@
<field name="queue" type="str8"/>
<field name="consumer" type="uint32"/>
</control>
+
+ <!-- Replicate management agent schema -->
+ <control name="management-schema" code="0x35">
+ <field name="data" type="vbin32"/>
+ </control>
</class>
</amqp>