You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/07/13 21:15:00 UTC

[jira] [Commented] (ARTEMIS-1288) Crash on compacting could leave to server not being able to restart

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

ASF GitHub Bot commented on ARTEMIS-1288:
-----------------------------------------

GitHub user clebertsuconic opened a pull request:

    https://github.com/apache/activemq-artemis/pull/1399

    ARTEMIS-1288 crash during compact control files issues

    The system would become irresponsive if crashed right at the
    control file writing.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/clebertsuconic/activemq-artemis journal-crash

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/1399.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1399
    
----
commit 31d5758885214ff65aebfdeb6024f7b275397bff
Author: Clebert Suconic <cl...@apache.org>
Date:   2017-07-13T21:02:33Z

    ARTEMIS-1288 crash during compact control files issues
    
    The system would become irresponsive if crashed right at the
    control file writing.

----


> Crash on compacting could leave to server not being able to restart
> -------------------------------------------------------------------
>
>                 Key: ARTEMIS-1288
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1288
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: clebert suconic
>            Assignee: clebert suconic
>
> There's a small window that if you crash the server during journal compacting, if you crash the vm after the control file is created and before it's written the server won't be able to startup.
> The control file reader will fail with OutBoundException and the server won't be able to restart.
> the loading has to handle the truncated situation as well



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)