Bug 470261 - Update cluster replication for changes to DeliveryRecord.
Summary: Update cluster replication for changes to DeliveryRecord.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp
Version: 1.0
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: 1.1
: ---
Assignee: Alan Conway
QA Contact: Kim van der Riet
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-11-06 14:22 UTC by Alan Conway
Modified: 2009-02-04 15:34 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-02-04 15:34:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2009:0035 0 normal SHIPPED_LIVE Red Hat Enterprise MRG Messaging 1.1 Release 2009-02-04 15:33:44 UTC

Description Alan Conway 2008-11-06 14:22:28 UTC
Description of problem:

gsim added a credit member to DeliveryRecord, need to update corresponding cluster.xml method and cluster code.

See bug 470260 for a long term solution to this type of problem.

Comment 1 Alan Conway 2008-11-11 21:10:05 UTC
Added the credit to cluster replication SVN r713171. 
Not sure how best to test this, will discuss with gsim.

Comment 3 Frantisek Reznicek 2008-11-25 13:38:48 UTC
Putting NEEDINFO flag because it is not clear how to approach the test.

Comment 4 Gordon Sim 2008-11-25 14:16:17 UTC
For clustering I think the test would be:

(1) publish 2 messages to queue
(2) subscribe to queue with message window of 1 and receive first message
(3) accept it (but don't complete it)
(4) start new cluster member (which would then need to get the unacked list replicated to it, including that delivery record which has ended and thus has no payload, but does have an amount of credit associated with it)
(5) send completion from client which should allow the second message to be delivered
(6) accept (and complete) that
(7) check that both members dequeued the second message ok

Comment 5 Alan Conway 2008-11-25 20:12:18 UTC
SVN r720585: Added unit test that does the steps of #c4 above.
src/tests/cluster_test.cpp: see testUnacked comments mentioning "empty credit"

Comment 6 Frantisek Reznicek 2008-11-26 14:44:46 UTC
Complete cluster test ran without failures.
Validated on RHEL 5.2 i386 / x86_64 in 3 node openais cluster. (rev:720810)

->VERIFIED

Comment 8 errata-xmlrpc 2009-02-04 15:34:54 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2009-0035.html


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