You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Eduardo Tsen (Created) (JIRA)" <ji...@apache.org> on 2011/11/10 14:51:51 UTC
[jira] [Created] (AMQ-3587) ActiveIO active file count not
initialized properly
ActiveIO active file count not initialized properly
---------------------------------------------------
Key: AMQ-3587
URL: https://issues.apache.org/jira/browse/AMQ-3587
Project: ActiveMQ
Issue Type: Bug
Environment: activeio-core-3.1.3
Reporter: Eduardo Tsen
Even when started with an existing log, the LogFileManager initializes activeLogFileCount to zero. This leads to LogFileManager.isPastHalfActive() to incorrectly return false and no JournalEventListener.overflowNotification() being issued.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (AMQ-3587) ActiveIO active file count not
initialized properly
Posted by "Eduardo Tsen (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQ-3587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eduardo Tsen updated AMQ-3587:
------------------------------
Attachment: patch.txt
Since LogFileManager.initialize() iterates over all log files, quering the active status, updating activeLogFileCount can be done here.
See patch for details.
> ActiveIO active file count not initialized properly
> ---------------------------------------------------
>
> Key: AMQ-3587
> URL: https://issues.apache.org/jira/browse/AMQ-3587
> Project: ActiveMQ
> Issue Type: Bug
> Environment: activeio-core-3.1.3
> Reporter: Eduardo Tsen
> Attachments: patch.txt
>
>
> Even when started with an existing log, the LogFileManager initializes activeLogFileCount to zero. This leads to LogFileManager.isPastHalfActive() to incorrectly return false and no JournalEventListener.overflowNotification() being issued.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (AMQ-3587) ActiveIO active file count not
initialized properly
Posted by "Timothy Bish (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQ-3587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timothy Bish resolved AMQ-3587.
-------------------------------
Resolution: Fixed
Fix applied.
> ActiveIO active file count not initialized properly
> ---------------------------------------------------
>
> Key: AMQ-3587
> URL: https://issues.apache.org/jira/browse/AMQ-3587
> Project: ActiveMQ
> Issue Type: Bug
> Environment: activeio-core-3.1.3
> Reporter: Eduardo Tsen
> Attachments: patch.txt
>
>
> Even when started with an existing log, the LogFileManager initializes activeLogFileCount to zero. This leads to LogFileManager.isPastHalfActive() to incorrectly return false and no JournalEventListener.overflowNotification() being issued.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira