You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alan Conway (JIRA)" <ji...@apache.org> on 2012/11/07 22:10:12 UTC

[jira] [Created] (QPID-4428) HA add UUID tag to avoid using an out of date queue.

Alan Conway created QPID-4428:
---------------------------------

             Summary: HA add UUID tag to avoid using an out of date queue.
                 Key: QPID-4428
                 URL: https://issues.apache.org/jira/browse/QPID-4428
             Project: Qpid
          Issue Type: Bug
          Components: C++ Clustering
    Affects Versions: 0.19
            Reporter: Alan Conway
            Assignee: Alan Conway


Here's the scenario: we have a cluster with primary A and backups B and C. There is a queue Q that is replicated to both. Now A dies and B takes over as primary. Before C has connected to B, a client destroys Q and creates a new queue with the same name, Q. When C does connect it sees a queue named Q and mistakenly assumes it is the same queue as it's own Q - so it has an incorrect replica of Q. The same scenario applies to exchanges.

The fix is to tag queues and exchanges with a UUID, so backups can identify that the queue has changed even if the name is the same.

--
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


[jira] [Resolved] (QPID-4428) HA add UUID tag to avoid using an out of date queue.

Posted by "Alan Conway (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-4428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan Conway resolved QPID-4428.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 0.19

Fixed on trunk:
r1409241 | QPID-4428: HA add UUID tag to avoid using an out of date queue/exchange.
                
> HA add UUID tag to avoid using an out of date queue.
> ----------------------------------------------------
>
>                 Key: QPID-4428
>                 URL: https://issues.apache.org/jira/browse/QPID-4428
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Clustering
>    Affects Versions: 0.19
>            Reporter: Alan Conway
>            Assignee: Alan Conway
>             Fix For: 0.19
>
>
> Here's the scenario: we have a cluster with primary A and backups B and C. There is a queue Q that is replicated to both. Now A dies and B takes over as primary. Before C has connected to B, a client destroys Q and creates a new queue with the same name, Q. When C does connect it sees a queue named Q and mistakenly assumes it is the same queue as it's own Q - so it has an incorrect replica of Q. The same scenario applies to exchanges.
> The fix is to tag queues and exchanges with a UUID, so backups can identify that the queue has changed even if the name is the same.

--
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