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

Dmitriy Pavlov commented on IGNITE-7684:
----------------------------------------

It seems it was already fixed for master. WAL ignores factory now.

> Ignore IGNITE_USE_ASYNC_FILE_IO_FACTORY in FileWriteAheadLogManager
> -------------------------------------------------------------------
>
>                 Key: IGNITE-7684
>                 URL: https://issues.apache.org/jira/browse/IGNITE-7684
>             Project: Ignite
>          Issue Type: Improvement
>          Components: general
>    Affects Versions: 2.4
>            Reporter: Alexander Belyak
>            Priority: Major
>
> If IGNITE_USE_ASYNC_FILE_IO_FACTORY specified and no IGNITE_WAL_MMAP we get:
> {noformat}
> java.lang.UnsupportedOperationException: AsynchronousFileChannel doesn't 
> support mmap. 
>         at 
> org.apache.ignite.internal.processors.cache.persistence.file.AsyncFileIO.map(AsyncFileIO.java:173)
>  
>         at 
> org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager.restoreWriteHandle(FileWriteAheadLogManager.java:1068)
>  
>         at 
> org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager.resumeLogging(FileWriteAheadLogManager.java:552)
>         at 
> org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.readCheckpointAndRestoreMemory(GridCacheDatabaseSharedManager.java:714)
>         at 
> org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.onClusterStateChangeRequest(GridDhtPartitionsExchangeFuture.java:841)
>         at 
> org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:595)
>         at 
> org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:2329)
>         at 
> org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110) 
>         at java.lang.Thread.run(Thread.java:748)
> {noformat}



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

Reply via email to