You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Gary Tully (JIRA)" <ji...@apache.org> on 2013/03/22 18:01:17 UTC

[jira] [Commented] (AMQ-4399) jdbcPersistenceAdapter takes a long time to shutdown, causing journal recovery

    [ https://issues.apache.org/jira/browse/AMQ-4399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13610935#comment-13610935 ] 

Gary Tully commented on AMQ-4399:
---------------------------------

the default sync delay is quite large between the journal and the store, so the sync all takes place on shutdown, so the shutdown timeout needs to be extended to allow the sync to complete.
                
> jdbcPersistenceAdapter takes a long time to shutdown, causing journal recovery
> ------------------------------------------------------------------------------
>
>                 Key: AMQ-4399
>                 URL: https://issues.apache.org/jira/browse/AMQ-4399
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.7.0
>         Environment: 5.7.0.fuse-71-047
> MySQL with Journal
>            Reporter: Jason Shepherd
>         Attachments: activemq.xml
>
>
> Using the attached configuration, we have configured JDBC persistence with a journal. After sending 30,000 messages to a queue, using persistent messages, we see that shutdown of the broker timeouts out and the process is killed by the OS.
> After restarting the broker, a journal recovery takes place, which takes a long time to complete. We would like to avoid such a long restart time in this scenario.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira