Bug 469853 - Cluster: use same encode/decode mechanism as store to replicate wiring.
Summary: Cluster: use same encode/decode mechanism as store to replicate wiring.
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-04 14:04 UTC by Alan Conway
Modified: 2009-02-04 15:34 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-02-04 15:34:39 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-04 14:04:41 UTC
Description of problem:

Currently the broker replicates wiring (queues and exchanges) using standard amqp declare commands. 

Recent changes mean that exchanges have additional state not declared in bind (counters to assign sequence numbers to messages.) This state is not replicated in to new cluster members.


Fix: 

Modify cluster replication to use the same encode/decode mechansim used for persistent store. This resolves the current problem and ensures consistency between cluster and store going forward.

Comment 1 Alan Conway 2008-11-04 14:36:05 UTC
Testing information: 

Write a test client that verifies the sequence numbers added by the broker (ask cctreilof about this feature )

- Start a cluster with a single node
- send N bugs thru this node, verify sequence numbers
- Start a second cluster node
- Send mesages thru this node, ensure sequence numbers continue from N+1.

Comment 2 Alan Conway 2008-11-12 17:17:06 UTC
Fixed in SVN r713425. Unit test is tests/cluster_test.cpp QPID_AUTO_TEST_CASE(testSequenceOptions) {

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

->VERIFIED

Comment 6 errata-xmlrpc 2009-02-04 15:34:39 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.