Bug 470260 - cluster: use encode/decode for all object replication.
Summary: cluster: use encode/decode for all object replication.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp
Version: 1.0
Hardware: All
OS: Linux
urgent
low
Target Milestone: Next Version
: ---
Assignee: Ted Ross
QA Contact: Kim van der Riet
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-11-06 14:19 UTC by Alan Conway
Modified: 2010-10-13 13:42 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-10-13 13:42:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Alan Conway 2008-11-06 14:19:15 UTC
Description of problem:

Cluster code uses XML methods to replicate in-memory objects (DeliveryRecord, TxOps etc.) to new members.

The problem is that there's no indication in e.g. the DeliveryRecord code that developers modifying DeliveryRecord won't be aware of the need to also modify the corresponding cluster.xml definition and cluster code.

Solution: 

All objects replicated in the cluster should provide encode/encodedSize/decode,
the cluster will use these rather than XML methods to replicate the objects.

These methods will be present in e.g. DeliveryRecord so developers modifying DeliveryRecord will be more easily able to keep the encode/decode in sync.

Comment 1 Ted Ross 2010-10-13 13:42:44 UTC
This issue will ultimately be resolved by the clustered-queue design work that is ongoing.


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