[ 
https://issues.apache.org/jira/browse/QPID-663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Ritchie resolved QPID-663.
---------------------------------

    Resolution: Fixed

FailoverHandler now resets the StateManager's ProtocolSession Reference.

> Messages fail to be received after failover
> -------------------------------------------
>
>                 Key: QPID-663
>                 URL: https://issues.apache.org/jira/browse/QPID-663
>             Project: Qpid
>          Issue Type: Bug
>    Affects Versions: M2, M2.1
>            Reporter: Martin Ritchie
>            Assignee: Martin Ritchie
>             Fix For: M2.1
>
>
> When the connection is dropped and the FailoverHandler reconnects the 
> session. The old AMQStateManager and the ProtocolHandler end up with 
> different ProtocolSession references. This is because a new StateManger is 
> used for the reconnection and when complete the old one is reused. However 
> the protocolSession reference is not updated. This means that when the 
> BasicDelivery frame arrives the statemanager stores that on the map of the 
> old prococolSession, so when the ContentHeader or ContentBody arrive and 
> perform a lookup for the corresponding BasicDelivery vial the ProtocolHandler 
> .. they cannot find it as the ProtcolHandler has the new protocol Session.  
> The result is the message is quietly dropped.
> This occurs for all further messages received at the Handler level. The 
> client simply sees no messages being deilvered.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to