You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Akos Baraz (JIRA)" <ji...@apache.org> on 2010/04/13 11:45:43 UTC

[jira] Created: (AMQ-2695) Invalid messages in the pending queue of durable subscriptions.

Invalid messages in the pending queue of durable subscriptions.
---------------------------------------------------------------

                 Key: AMQ-2695
                 URL: https://issues.apache.org/activemq/browse/AMQ-2695
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker
    Affects Versions: 5.3.1
            Reporter: Akos Baraz


Invalid messages appear in the pending queue of the durable subscriptions (with message selector) right after broker restart. These invalid messages are blocking the delivery of the newly produced ones.
As I see all messages appear in the pending queue what are produced on the topic (ever!!!) even if does not fulfills the selector.

Please, check my test case!


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Assigned: (AMQ-2695) Invalid messages in the pending queue of durable subscriptions.

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

Dejan Bosanac reassigned AMQ-2695:
----------------------------------

    Assignee: Dejan Bosanac

> Invalid messages in the pending queue of durable subscriptions.
> ---------------------------------------------------------------
>
>                 Key: AMQ-2695
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2695
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.3.1
>            Reporter: Akos Baraz
>            Assignee: Dejan Bosanac
>         Attachments: SubscriptionSelectorTest.java
>
>
> Invalid messages appear in the pending queue of the durable subscriptions (with message selector) right after broker restart. These invalid messages are blocking the delivery of the newly produced ones.
> As I see all messages appear in the pending queue what are produced on the topic (ever!!!) even if does not fulfills the selector.
> Please, check my test case!

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


[jira] Reopened: (AMQ-2695) Invalid messages in the pending queue of durable subscriptions.

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

Gary Tully reopened AMQ-2695:
-----------------------------


The existing solution can be improved from a performance perspective using the changes in https://issues.apache.org/activemq/browse/AMQ-2985.
The index, via acklocations contains all of the matched messages so the selectors need not be rerun to determine the available message count etc.

> Invalid messages in the pending queue of durable subscriptions.
> ---------------------------------------------------------------
>
>                 Key: AMQ-2695
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2695
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.3.1
>            Reporter: Akos Baraz
>            Assignee: Dejan Bosanac
>             Fix For: 5.4.0
>
>         Attachments: SubscriptionSelectorTest.java
>
>
> Invalid messages appear in the pending queue of the durable subscriptions (with message selector) right after broker restart. These invalid messages are blocking the delivery of the newly produced ones.
> As I see all messages appear in the pending queue what are produced on the topic (ever!!!) even if does not fulfills the selector.
> Please, check my test case!

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


[jira] Updated: (AMQ-2695) Invalid messages in the pending queue of durable subscriptions.

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

Akos Baraz updated AMQ-2695:
----------------------------

    Attachment: SubscriptionSelectorTest.java

> Invalid messages in the pending queue of durable subscriptions.
> ---------------------------------------------------------------
>
>                 Key: AMQ-2695
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2695
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.3.1
>            Reporter: Akos Baraz
>         Attachments: SubscriptionSelectorTest.java
>
>
> Invalid messages appear in the pending queue of the durable subscriptions (with message selector) right after broker restart. These invalid messages are blocking the delivery of the newly produced ones.
> As I see all messages appear in the pending queue what are produced on the topic (ever!!!) even if does not fulfills the selector.
> Please, check my test case!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (AMQ-2695) Invalid messages in the pending queue of durable subscriptions.

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

Dejan Bosanac resolved AMQ-2695.
--------------------------------

    Fix Version/s: 5.4.0
       Resolution: Fixed

Fixed with svn revision 954412

The problem was that KahaDB store didn't return a valid message count for the durable subscriber with selector (after the restart)

> Invalid messages in the pending queue of durable subscriptions.
> ---------------------------------------------------------------
>
>                 Key: AMQ-2695
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2695
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.3.1
>            Reporter: Akos Baraz
>            Assignee: Dejan Bosanac
>             Fix For: 5.4.0
>
>         Attachments: SubscriptionSelectorTest.java
>
>
> Invalid messages appear in the pending queue of the durable subscriptions (with message selector) right after broker restart. These invalid messages are blocking the delivery of the newly produced ones.
> As I see all messages appear in the pending queue what are produced on the topic (ever!!!) even if does not fulfills the selector.
> Please, check my test case!

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


[jira] Resolved: (AMQ-2695) Invalid messages in the pending queue of durable subscriptions.

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

Gary Tully resolved AMQ-2695.
-----------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 5.4.0)
                   5.5.0

r1038296, re implemented getMessageCount to use the just the index and remove the need to re run the selector.

> Invalid messages in the pending queue of durable subscriptions.
> ---------------------------------------------------------------
>
>                 Key: AMQ-2695
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2695
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.3.1
>            Reporter: Akos Baraz
>            Assignee: Dejan Bosanac
>             Fix For: 5.5.0
>
>         Attachments: SubscriptionSelectorTest.java
>
>
> Invalid messages appear in the pending queue of the durable subscriptions (with message selector) right after broker restart. These invalid messages are blocking the delivery of the newly produced ones.
> As I see all messages appear in the pending queue what are produced on the topic (ever!!!) even if does not fulfills the selector.
> Please, check my test case!

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


[jira] Updated: (AMQ-2695) Invalid messages in the pending queue of durable subscriptions.

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

Akos Baraz updated AMQ-2695:
----------------------------

    Attachment: SubscriptionSelectorTest.java

> Invalid messages in the pending queue of durable subscriptions.
> ---------------------------------------------------------------
>
>                 Key: AMQ-2695
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2695
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.3.1
>            Reporter: Akos Baraz
>         Attachments: SubscriptionSelectorTest.java
>
>
> Invalid messages appear in the pending queue of the durable subscriptions (with message selector) right after broker restart. These invalid messages are blocking the delivery of the newly produced ones.
> As I see all messages appear in the pending queue what are produced on the topic (ever!!!) even if does not fulfills the selector.
> Please, check my test case!

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


[jira] Updated: (AMQ-2695) Invalid messages in the pending queue of durable subscriptions.

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

Akos Baraz updated AMQ-2695:
----------------------------

    Attachment:     (was: SubscriptionSelectorTest.java)

> Invalid messages in the pending queue of durable subscriptions.
> ---------------------------------------------------------------
>
>                 Key: AMQ-2695
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2695
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.3.1
>            Reporter: Akos Baraz
>         Attachments: SubscriptionSelectorTest.java
>
>
> Invalid messages appear in the pending queue of the durable subscriptions (with message selector) right after broker restart. These invalid messages are blocking the delivery of the newly produced ones.
> As I see all messages appear in the pending queue what are produced on the topic (ever!!!) even if does not fulfills the selector.
> Please, check my test case!

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