Bug 488243 - invalid-argument: confirmed < (65535+0) but only sent < (65533+0) (qpid/SessionState.cpp:150)
Summary: invalid-argument: confirmed < (65535+0) but only sent < (65533+0) (qpid/Sessi...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp
Version: Development
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-03-03 13:04 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-28 19:03:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Gordon Sim 2009-03-03 13:04:41 UTC
This can be seen consistently when sending messages over a federated link with acking turned on (not yet sure f acking is required).

I also observed it during run_failover_soak but suspect that may be a separate case.

Comment 1 Gordon Sim 2009-03-04 13:20:43 UTC
To reproduce, setup an acked federation link and send lots of messages over it. (More frequent acking will generally show the issue earlier). 

E.g. with two brokers on ports 5555 and 6666 set up the link between two test queues:

  qpid-config -a localhost:5555 --max-queue-count 5000 add queue test-queue
  qpid-config -a localhost:6666 add queue test-queue
  qpid-config -a localhost:6666 bind amq.direct test-queue test-queue
  qpid-config -a localhost:6666 bind amq.direct test-queue test-queue
  qpid-route --ack 1 queue add localhost:6666 localhost:5555 amq.direct test-queue

Then start up a receiver on the destination broker:

  receiver --port 666 --ack 500

(ack frequency of receiver just improves throughput and makes test a little faster, it has no impact on issue)

Then send lots of messages to the source broker:

  (for (( i=5000000; i--;)) do echo $i; done) | ./src/tests/sender --send-eos 1 --port 5555

Comment 2 Gordon Sim 2009-03-04 13:22:40 UTC
Fixed by r750002.

Comment 3 Gordon Sim 2009-03-04 13:23:23 UTC
Fix also includes correction for the 'push' case (i.e. where --src-is-local option is specified to qpid-route above).


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