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

Andrey Gura commented on IGNITE-6339:
-------------------------------------

Implementation is completed. {{MappedByteBuffer}} implementation is default now 
and it can be switched to single writer thread using JVM argument: 
{{-DIGNITE_WAL_MMAP=false}}.

All file operations are noninterruptible for {{MappedByteBuffer}} or performs 
special thread in case of single writer thread.

TC looks good. Please review.

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

> WAL: Avoid closed by interruption exception when user thread is interrupted
> ---------------------------------------------------------------------------
>
>                 Key: IGNITE-6339
>                 URL: https://issues.apache.org/jira/browse/IGNITE-6339
>             Project: Ignite
>          Issue Type: Bug
>          Components: persistence
>            Reporter: Andrey Gura
>            Assignee: Andrey Gura
>            Priority: Blocker
>              Labels: important
>             Fix For: 2.4
>
>
> We should have a separate writer thread for WAL that will write completed 
> serialized chunks of data. This will allow us avoid closed by interruption 
> exception when user thread is interrupted.



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

Reply via email to