qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Conway (JIRA)" <j...@apache.org>
Subject [jira] [Created] (QPID-4348) HA Use independent sequence numbers for identifying messages.
Date Thu, 27 Sep 2012 16:32:07 GMT
Alan Conway created QPID-4348:
---------------------------------

             Summary: HA Use independent sequence numbers for identifying messages.
                 Key: QPID-4348
                 URL: https://issues.apache.org/jira/browse/QPID-4348
             Project: Qpid
          Issue Type: Improvement
          Components: C++ Clustering
    Affects Versions: 0.18
            Reporter: Alan Conway
            Assignee: Alan Conway


Currently HA code uses queue sequence numbers to identify messasges.
This assumes that message sequence is identical on primary and backup.

Implementing new features (for example transactions) requires that we tolerate
ordering differences between primary and backups.

We introduces a new, queue-scoped HA sequence number managed by the HA plugin.
This is used to identify messages independently of queue sequence numbers.

Needs careful implementation to avoid bad performance effects.
- Avoid adding headers, use the same mechansim as we have now for sending HA seq. nos.
- Use an efficient index struct (e.g. dequeue) to map HA seq. to queue seq.

The benefits:
- required to support TX
- required for re-use of stored messages for catchup
- more robust - aovids implicit assumption of synchronization


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message