[ https://issues.apache.org/jira/browse/QPID-3043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12993550#comment-12993550 ]
Andrew Kennedy commented on QPID-3043: -------------------------------------- The " connectionLost" field is scoped as "private static", so it is shared among all connections on the same JVM. This will lead to undesirable behaviour if only one of those connections is lost, and should probably be instance local. instead. > If a new session is created during failover, but before 'resume' is > completed, the new session gets reattached again. > --------------------------------------------------------------------------------------------------------------------- > > Key: QPID-3043 > URL: https://issues.apache.org/jira/browse/QPID-3043 > Project: Qpid > Issue Type: Bug > Affects Versions: 0.6, 0.7, 0.8 > Reporter: Rajith Attapattu > Assignee: Rajith Attapattu > Fix For: Future > > > This bug was discovered while investigating QPID-2994 > There exists a race condition, where if a session is created (after the > connection is setup and is marked OPEN) but before the resume method (in > Connection.java) is called, it results in the new session being reattached > again. This could result in unnecessary duplication of messages. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:dev-subscr...@qpid.apache.org