summaryrefslogtreecommitdiff
path: root/qpid/cpp/xml
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2010-01-27 20:56:31 +0000
committerAlan Conway <aconway@apache.org>2010-01-27 20:56:31 +0000
commit8c09a071c998b789c464dc0ef1eecafe6cc4cd67 (patch)
treece00610d67d05ef0c544beab5d470721b02d074f /qpid/cpp/xml
parentcd739d3ecad88ad28f6891e9e1b119b763b53120 (diff)
downloadqpid-python-8c09a071c998b789c464dc0ef1eecafe6cc4cd67.tar.gz
Fix cluster elder calculation to ensure unique elder.
Race condition in the previous algorithm allowed several cluster members to consider themselves the elder. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@903826 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/xml')
-rw-r--r--qpid/cpp/xml/cluster.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/qpid/cpp/xml/cluster.xml b/qpid/cpp/xml/cluster.xml
index 0359514294..06f5478583 100644
--- a/qpid/cpp/xml/cluster.xml
+++ b/qpid/cpp/xml/cluster.xml
@@ -65,6 +65,7 @@
<field name="store-state" type="store-state"/>
<field name="shutdown-id" type="uuid"/>
<field name="config-seq" type="sequence-no"/>
+ <field name="first-config" type="str16"/>
</control>
<!-- New member or updater is ready as an active member. -->