FilePendingMessageCursor isFull reports full in error when temp store is full, 
even if not needing the temp store
-----------------------------------------------------------------------------------------------------------------

                 Key: AMQ-3314
                 URL: https://issues.apache.org/jira/browse/AMQ-3314
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker
    Affects Versions: 5.5.0
            Reporter: Gary Tully
            Assignee: Gary Tully


With slow queue consumers of non persistent messages the temp store can be 
filled and producers blocked. The default cursor for non persistent is a 
fileCursor. 
However topic subs with a pending message limit strategy also use a cursor for 
pending messages. If there is sufficient memory resources, the topic consumers 
should be able to operate without recourse to the temp store. At the moment 
this is not the case, as the check to isFull reports true in error (based on 
the status of the temp store)
It should only report full if its memory is exhausted || it is spooling to disk 
AND the temp store is exhausted.

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

Reply via email to