diff options
author | Alan Conway <aconway@apache.org> | 2009-07-31 18:40:26 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2009-07-31 18:40:26 +0000 |
commit | a05ab36bb54baa8b17a2bc91cb1e790e62f242fe (patch) | |
tree | bdc89ba69903a680bdd099909f2aae54896e3425 /qpid/cpp/xml | |
parent | bb96486312e0447b7418d8d5206106e0de160b92 (diff) | |
download | qpid-python-a05ab36bb54baa8b17a2bc91cb1e790e62f242fe.tar.gz |
Fix race condition in cluster error handling.
If different errors occured almost simultaneously on two different
nodes in a cluster, there was a race condition that could cause the
cluster to hang.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@799687 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/xml')
-rw-r--r-- | qpid/cpp/xml/cluster.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/cpp/xml/cluster.xml b/qpid/cpp/xml/cluster.xml index 92917dcfa6..1e5b091a87 100644 --- a/qpid/cpp/xml/cluster.xml +++ b/qpid/cpp/xml/cluster.xml @@ -68,7 +68,7 @@ <!-- Check for error consistency across the cluster --> <control name="error-check" code="0x14"> <field name="type" type="error-type"/> - <field name="frame-seq" type="uint64"/> + <field name="frame-seq" type="sequence-no"/> </control> @@ -170,7 +170,7 @@ <control name="membership" code="0x21" label="Cluster membership details."> <field name="joiners" type="map"/> <!-- member-id -> URL --> <field name="members" type="map"/> <!-- member-id -> state --> - <field name="frame-seq" type="uint64"/> <!-- frame sequence number --> + <field name="frame-seq" type="sequence-no"/> <!-- frame sequence number --> </control> <!-- Updater cannot fulfill an update offer. --> |