You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Kevin Yaussy (JIRA)" <ji...@apache.org> on 2007/04/16 20:05:34 UTC

[jira] Created: (AMQ-1230) Problem with prefetchExtension in org/apache/activemq/broker/region/TopicSubscription.java

Problem with prefetchExtension in org/apache/activemq/broker/region/TopicSubscription.java
------------------------------------------------------------------------------------------

                 Key: AMQ-1230
                 URL: https://issues.apache.org/activemq/browse/AMQ-1230
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker
    Affects Versions: 4.2.0
            Reporter: Kevin Yaussy
             Fix For: 4.2.0


The prefetchExtension variable in TopicSubscription.java is ever-increasing.  This causes a problem wherein the Broker may not kick in the PendingMessageLimit strategies.

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


[jira] Resolved: (AMQ-1230) Problem with prefetchExtension in org/apache/activemq/broker/region/TopicSubscription.java

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

Rob Davies resolved AMQ-1230.
-----------------------------

    Resolution: Fixed

> Problem with prefetchExtension in org/apache/activemq/broker/region/TopicSubscription.java
> ------------------------------------------------------------------------------------------
>
>                 Key: AMQ-1230
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1230
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.0.0
>            Reporter: Kevin Yaussy
>            Assignee: Rob Davies
>             Fix For: 5.1.0
>
>
> The prefetchExtension variable in TopicSubscription.java is ever-increasing.  This causes a problem wherein the Broker may not kick in the PendingMessageLimit strategies.

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


[jira] Commented: (AMQ-1230) Problem with prefetchExtension in org/apache/activemq/broker/region/TopicSubscription.java

Posted by "Kevin Yaussy (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQ-1230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=41149#action_41149 ] 

Kevin Yaussy commented on AMQ-1230:
-----------------------------------

Sorry - should have included this in the previous comment.  5.1 code also seems to be setting the DispatchedQueueSize to -(DiscardedCount).  This makes the problem worse, as the queue depth now has to grow up through this negative value, too.


> Problem with prefetchExtension in org/apache/activemq/broker/region/TopicSubscription.java
> ------------------------------------------------------------------------------------------
>
>                 Key: AMQ-1230
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1230
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.0.0
>            Reporter: Kevin Yaussy
>             Fix For: 5.1.0
>
>
> The prefetchExtension variable in TopicSubscription.java is ever-increasing.  This causes a problem wherein the Broker may not kick in the PendingMessageLimit strategies.

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


[jira] Commented: (AMQ-1230) Problem with prefetchExtension in org/apache/activemq/broker/region/TopicSubscription.java

Posted by "Kevin Yaussy (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQ-1230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=41148#action_41148 ] 

Kevin Yaussy commented on AMQ-1230:
-----------------------------------

Kind of surprised this is still an issue (as of 5.1 snapshot Jan 16, 2008).  How does any unit / regression test for the discard policies work?

Anyway, I've had this fixed since 4.2 (march 2007) by commenting out updates to prefetchExtension in the acknowledge method in TopicSubscription.java.  However, I'm not sure the exact reason why this value is updated - to me it is a static value, but what was the reason for modifying it?


> Problem with prefetchExtension in org/apache/activemq/broker/region/TopicSubscription.java
> ------------------------------------------------------------------------------------------
>
>                 Key: AMQ-1230
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1230
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.0.0
>            Reporter: Kevin Yaussy
>             Fix For: 5.1.0
>
>
> The prefetchExtension variable in TopicSubscription.java is ever-increasing.  This causes a problem wherein the Broker may not kick in the PendingMessageLimit strategies.

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


[jira] Assigned: (AMQ-1230) Problem with prefetchExtension in org/apache/activemq/broker/region/TopicSubscription.java

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

Rob Davies reassigned AMQ-1230:
-------------------------------

    Assignee: Rob Davies

> Problem with prefetchExtension in org/apache/activemq/broker/region/TopicSubscription.java
> ------------------------------------------------------------------------------------------
>
>                 Key: AMQ-1230
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1230
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.0.0
>            Reporter: Kevin Yaussy
>            Assignee: Rob Davies
>             Fix For: 5.1.0
>
>
> The prefetchExtension variable in TopicSubscription.java is ever-increasing.  This causes a problem wherein the Broker may not kick in the PendingMessageLimit strategies.

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