Bug 485479 - Publishing messages of varying size to LVQ results in corruption (including underflow) of computed queue depth in bytes
Summary: Publishing messages of varying size to LVQ results in corruption (including u...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp
Version: 1.1
Hardware: All
OS: Linux
urgent
high
Target Milestone: 1.1.1
: ---
Assignee: Gordon Sim
QA Contact: Frantisek Reznicek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-02-13 18:01 UTC by Gordon Sim
Modified: 2015-11-16 00:06 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-27 20:15:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Test program to trigger underflow with lvq (3.98 KB, text/x-c++src)
2009-02-13 18:59 UTC, Gordon Sim
no flags Details

Description Gordon Sim 2009-02-13 18:01:56 UTC
1. Publish messages of 100 bytes to each of five keys in an LVQ (NO_BROWSE)
2. Publish messages of 10 bytes to the same keys
3. Repeat step 2. -> an underflow exception is generated by the queue policy

Comment 1 Gordon Sim 2009-02-13 18:59:47 UTC
Created attachment 331856 [details]
Test program to trigger underflow with lvq

Test program to trigger underflow with lvq

Comment 2 Gordon Sim 2009-02-13 19:22:12 UTC
Fixed by r744222 (additional test added to ClientSessionTest as part of that, standalone test program attached).

Comment 3 Frantisek Reznicek 2009-02-17 12:48:14 UTC
Re-tested using Bug 485283 reproducer and also using #1 reproducer
on RHEL 4.7 / 5.3  i386 / x86_64 on packages qpidd-0.4.744917-1.el4/5 and proved that issue has been fixed.

->VERIFIED

Comment 4 Justin Ross 2011-06-27 20:15:49 UTC
Fixed and verified; closing.


Note You need to log in before you can comment on or make changes to this bug.