You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2011/04/08 15:37:05 UTC

[jira] [Created] (AMQNET-326) When in a .NET Transaction the session needs to block in the close method until the DTC completes the open TX.

When in a .NET Transaction the session needs to block in the close method until the DTC completes the open TX.
--------------------------------------------------------------------------------------------------------------

                 Key: AMQNET-326
                 URL: https://issues.apache.org/jira/browse/AMQNET-326
             Project: ActiveMQ .Net
          Issue Type: Bug
          Components: ActiveMQ
    Affects Versions: 1.5.0
            Reporter: Timothy Bish
            Assignee: Timothy Bish
             Fix For: 1.5.1


When closing a Session that is currently part of a Distributed Transaction the Session close method needs to block until the DTC completes the outstanding transaction, otherwise the state of the Session can be invalid as its parent connection is closing and cause a RemoveInfo for the session to be sent with the wrong lastDeliveredSequenceId.  This causes message not dispatched to consumers but stored in prefetch to be marked as redelivered by the broker.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (AMQNET-326) When in a .NET Transaction the session needs to block in the close method until the DTC completes the open TX.

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

Timothy Bish resolved AMQNET-326.
---------------------------------

    Resolution: Fixed

New fixes and tests applied to trunk and 1.5.x branch

> When in a .NET Transaction the session needs to block in the close method until the DTC completes the open TX.
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: AMQNET-326
>                 URL: https://issues.apache.org/jira/browse/AMQNET-326
>             Project: ActiveMQ .Net
>          Issue Type: Bug
>          Components: ActiveMQ
>    Affects Versions: 1.5.0
>            Reporter: Timothy Bish
>            Assignee: Timothy Bish
>             Fix For: 1.5.1, 1.6.0
>
>
> When closing a Session that is currently part of a Distributed Transaction the Session close method needs to block until the DTC completes the outstanding transaction, otherwise the state of the Session can be invalid as its parent connection is closing and cause a RemoveInfo for the session to be sent with the wrong lastDeliveredSequenceId.  This causes message not dispatched to consumers but stored in prefetch to be marked as redelivered by the broker.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Reopened] (AMQNET-326) When in a .NET Transaction the session needs to block in the close method until the DTC completes the open TX.

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

Timothy Bish reopened AMQNET-326:
---------------------------------


Last fix didn't catch all the variations of this issue, needs more work.

> When in a .NET Transaction the session needs to block in the close method until the DTC completes the open TX.
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: AMQNET-326
>                 URL: https://issues.apache.org/jira/browse/AMQNET-326
>             Project: ActiveMQ .Net
>          Issue Type: Bug
>          Components: ActiveMQ
>    Affects Versions: 1.5.0
>            Reporter: Timothy Bish
>            Assignee: Timothy Bish
>             Fix For: 1.5.1, 1.6.0
>
>
> When closing a Session that is currently part of a Distributed Transaction the Session close method needs to block until the DTC completes the outstanding transaction, otherwise the state of the Session can be invalid as its parent connection is closing and cause a RemoveInfo for the session to be sent with the wrong lastDeliveredSequenceId.  This causes message not dispatched to consumers but stored in prefetch to be marked as redelivered by the broker.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (AMQNET-326) When in a .NET Transaction the session needs to block in the close method until the DTC completes the open TX.

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

Timothy Bish resolved AMQNET-326.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 1.6.0

Fixed in trunk and 1.5.x fixes branch

> When in a .NET Transaction the session needs to block in the close method until the DTC completes the open TX.
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: AMQNET-326
>                 URL: https://issues.apache.org/jira/browse/AMQNET-326
>             Project: ActiveMQ .Net
>          Issue Type: Bug
>          Components: ActiveMQ
>    Affects Versions: 1.5.0
>            Reporter: Timothy Bish
>            Assignee: Timothy Bish
>             Fix For: 1.5.1, 1.6.0
>
>
> When closing a Session that is currently part of a Distributed Transaction the Session close method needs to block until the DTC completes the outstanding transaction, otherwise the state of the Session can be invalid as its parent connection is closing and cause a RemoveInfo for the session to be sent with the wrong lastDeliveredSequenceId.  This causes message not dispatched to consumers but stored in prefetch to be marked as redelivered by the broker.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira