You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "ying (JIRA)" <ji...@apache.org> on 2010/02/17 20:30:40 UTC

[jira] Created: (AMQ-2614) After failover some messages are stuck in the new broker

After failover some messages are stuck in the new broker
--------------------------------------------------------

                 Key: AMQ-2614
                 URL: https://issues.apache.org/activemq/browse/AMQ-2614
             Project: ActiveMQ
          Issue Type: Bug
    Affects Versions: 5.3.0
         Environment: solaris 10
            Reporter: ying
            Priority: Blocker
             Fix For: 5.4.0


1. I have 2 pair of master/slave, broker1/slave1, broker2/slave2
2. I start 4 consumer on Queue A for failover using broker1 and broker2, make it to consume a message, commit the session and pause 500ms
3. I start 1 producer to publish 1000 messages on the Queue A
4. after consumer consumes some message, i do broker1's connector stop, not broker stop, so the consumer will failover to broker2 and all remaining messages will forward to broker2
5. After the consumer consumes all the message, there are about 235 messages that are stuck in broker2 which the broker will not deliver to the consumer unless I restart the consumers

the things I noticed is 
1. clearing dispatched list (235) on transport interrupt output by the ActiveMQMessageConsumer seems to match the number of messages that get stuck
2. The other thing is I notice is that these messages are actually consumed by the my consumers.

i will try to supply more details if i find more.

This happens on today's trunk r911076



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


[jira] Updated: (AMQ-2614) After failover some messages are stuck in the new broker

Posted by "Bruce Snyder (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-2614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bruce Snyder updated AMQ-2614:
------------------------------

    Fix Version/s: 5.5.0
                       (was: 5.4.1)

> After failover some messages are stuck in the new broker
> --------------------------------------------------------
>
>                 Key: AMQ-2614
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2614
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.3.0
>         Environment: solaris 10
>            Reporter: ying
>            Priority: Blocker
>             Fix For: 5.5.0
>
>
> 1. I have 2 pair of master/slave, broker1/slave1, broker2/slave2
> 2. I start 4 consumer on Queue A for failover using broker1 and broker2, make it to consume a message, commit the session and pause 500ms
> 3. I start 1 producer to publish 1000 messages on the Queue A
> 4. after consumer consumes some message, i do broker1's connector stop, not broker stop, so the consumer will failover to broker2 and all remaining messages will forward to broker2
> 5. After the consumer consumes all the message, there are about 235 messages that are stuck in broker2 which the broker will not deliver to the consumer unless I restart the consumers
> the things I noticed is 
> 1. clearing dispatched list (235) on transport interrupt output by the ActiveMQMessageConsumer seems to match the number of messages that get stuck
> 2. The other thing is I notice is that these messages are actually consumed by the my consumers.
> i will try to supply more details if i find more.
> This happens on today's trunk r911076

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


[jira] Updated: (AMQ-2614) After failover some messages are stuck in the new broker

Posted by "Hadrian Zbarcea (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-2614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hadrian Zbarcea updated AMQ-2614:
---------------------------------

    Fix Version/s: 5.4.1
                       (was: 5.4.0)

> After failover some messages are stuck in the new broker
> --------------------------------------------------------
>
>                 Key: AMQ-2614
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2614
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.3.0
>         Environment: solaris 10
>            Reporter: ying
>            Priority: Blocker
>             Fix For: 5.4.1
>
>
> 1. I have 2 pair of master/slave, broker1/slave1, broker2/slave2
> 2. I start 4 consumer on Queue A for failover using broker1 and broker2, make it to consume a message, commit the session and pause 500ms
> 3. I start 1 producer to publish 1000 messages on the Queue A
> 4. after consumer consumes some message, i do broker1's connector stop, not broker stop, so the consumer will failover to broker2 and all remaining messages will forward to broker2
> 5. After the consumer consumes all the message, there are about 235 messages that are stuck in broker2 which the broker will not deliver to the consumer unless I restart the consumers
> the things I noticed is 
> 1. clearing dispatched list (235) on transport interrupt output by the ActiveMQMessageConsumer seems to match the number of messages that get stuck
> 2. The other thing is I notice is that these messages are actually consumed by the my consumers.
> i will try to supply more details if i find more.
> This happens on today's trunk r911076

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