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

[jira] [Commented] (IGNITE-8203) Interrupting task can cause node fail with PersistenceStorageIOException.

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

ASF GitHub Bot commented on IGNITE-8203:
----------------------------------------

GitHub user ivandasch opened a pull request:

    https://github.com/apache/ignite/pull/3826

    IGNITE-8203 Correctly handles ClosedByInterrupt exception while

    partition initializes.

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

    $ git pull https://github.com/ivandasch/ignite ignite-8203

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

    https://github.com/apache/ignite/pull/3826.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 #3826
    
----
commit 53c9eb620bbc22e55e7fed7397b39f1744d3128e
Author: Ivan Daschinskiy <iv...@...>
Date:   2018-04-16T13:01:17Z

    IGNITE-8203 Correctly handles ClosedByInterrupt exception while
    partition initializes.

----


> Interrupting task can cause node fail with PersistenceStorageIOException. 
> --------------------------------------------------------------------------
>
>                 Key: IGNITE-8203
>                 URL: https://issues.apache.org/jira/browse/IGNITE-8203
>             Project: Ignite
>          Issue Type: Bug
>          Components: persistence
>    Affects Versions: 2.4
>            Reporter: Ivan Daschinskiy
>            Assignee: Ivan Daschinskiy
>            Priority: Major
>             Fix For: 2.6
>
>         Attachments: GridFailNodesOnCanceledTaskTest.java
>
>
> Interrupting task with simple cache operations (i.e. get, put) can cause PersistenceStorageIOException. Main cause of this failure is lack of proper handling InterruptedException in FilePageStore.init() etc. This cause a throw of ClosedByInterruptException by FileChannel.write() and so on. 
> PersistenceStorageIOException is a critical failure and typically makes a node to stop. As a workaround, I would suggest to enable AsyncFileIO by default until the fix was available.
> A reproducer is attached.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)