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 | 30057848b8044a31631a55b768cc0675b56811d4 (patch) | |
| tree | 966afc9c78dcfe18f3d9b2d5d19073e668499eb9 /cpp/xml | |
| parent | 0a26b8c9543e066a19c8b457f41425972eb0b0c4 (diff) | |
| download | qpid-python-30057848b8044a31631a55b768cc0675b56811d4.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/qpid@799687 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/xml')
| -rw-r--r-- | cpp/xml/cluster.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/xml/cluster.xml b/cpp/xml/cluster.xml index 92917dcfa6..1e5b091a87 100644 --- a/cpp/xml/cluster.xml +++ b/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. --> |
