summaryrefslogtreecommitdiff
path: root/qpid/cpp/xml
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2012-04-23 15:51:46 +0000
committerAlan Conway <aconway@apache.org>2012-04-23 15:51:46 +0000
commitfa2d517b97721670a0c5bd55276b346e242288ba (patch)
treeb80174ae0abc7edf88c1f764d11918ae1a5e2107 /qpid/cpp/xml
parenta7c7e18f5d000b1e6e211a97e725b8bdca2900cc (diff)
downloadqpid-python-fa2d517b97721670a0c5bd55276b346e242288ba.tar.gz
QPID-3960: Fix performance regression in priority queue implementation.
Revision r1307582 created a serious degredation in priority queue performance. It replaced a muti-deque implementation with o(1) complexity for consuming with a map implementation with o(log(n)) performance. This revision returns to a mutli-deque algorithm but with the addition of a FIFO index for fast browsing of acquired and unacquired messages. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1329301 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/xml')
-rw-r--r--qpid/cpp/xml/cluster.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/qpid/cpp/xml/cluster.xml b/qpid/cpp/xml/cluster.xml
index 580451c5b5..7b3f2fe63b 100644
--- a/qpid/cpp/xml/cluster.xml
+++ b/qpid/cpp/xml/cluster.xml
@@ -304,7 +304,8 @@
<!-- Set the fairshare delivery related state of a replicated queue. -->
<control name="queue-fairshare-state" code="0x38">
<field name="queue" type="str8"/>
- <field name="counts" type="map"/>
+ <field name="position" type="uint8"/>
+ <field name="count" type="uint8"/>
</control>
<!-- Replicate a QueueObserver for a given queue. -->