summaryrefslogtreecommitdiff
path: root/cpp/xml
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2010-01-06 17:01:50 +0000
committerAlan Conway <aconway@apache.org>2010-01-06 17:01:50 +0000
commite7c824871a7238697e5c534aafffee99078975cd (patch)
tree8fe2f397beb8f3b2e2fe94386dfee7aa168b2376 /cpp/xml
parentde23cb5942844463a237cff18c30e5f43ea5d5d0 (diff)
downloadqpid-python-e7c824871a7238697e5c534aafffee99078975cd.tar.gz
Added config-seq counter to track config changes since cluster init.
Config-seq is recorded persitently to help identify best store when recovering from total failure. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@896538 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/xml')
-rw-r--r--cpp/xml/cluster.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/xml/cluster.xml b/cpp/xml/cluster.xml
index e2c69d33fd..2155b6374e 100644
--- a/cpp/xml/cluster.xml
+++ b/cpp/xml/cluster.xml
@@ -64,6 +64,7 @@
<field name="cluster-id" type="uuid"/>>
<field name="store-state" type="store-state"/>
<field name="shutdown-id" type="uuid"/>
+ <field name="config-seq" type="sequence-no"/>
</control>
<!-- New member or updater is ready as an active member. -->
@@ -201,6 +202,7 @@
<field name="joiners" type="map"/> <!-- member-id -> URL -->
<field name="members" type="map"/> <!-- member-id -> state -->
<field name="frame-seq" type="sequence-no"/> <!-- frame sequence number -->
+ <field name="config-seq" type="sequence-no"/> <!-- config change seq no.-->
</control>
<!-- Updater cannot fulfill an update offer. -->