You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Michael Sokolov (Jira)" <ji...@apache.org> on 2019/12/18 13:12:00 UTC

[jira] [Resolved] (LUCENE-8617) FSDirectory tries to create MMapDirectory on non default file system

     [ https://issues.apache.org/jira/browse/LUCENE-8617?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Sokolov resolved LUCENE-8617.
-------------------------------------
    Resolution: Won't Fix

Won't fix since we are not proceeding, and the OP asked to close

> FSDirectory tries to create MMapDirectory on non default file system
> --------------------------------------------------------------------
>
>                 Key: LUCENE-8617
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8617
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: core/store
>    Affects Versions: 5.0
>            Reporter: Philippe Marschall
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> {{org.apache.lucene.store.FSDirectory.open(Path, LockFactory)}} and {{org.apache.lucene.store.FSDirectory.open(Path)}} always assume the path is created on the default file system. If the path is not on the default file system {{MMapDirectory}} is the wrong choice as only the default file system can provide {{mmap()}}.
> In case of a non default file system {{SimpleFSDirectory}} is a good choice.
> See this bug for an example
> https://github.com/marschall/memoryfilesystem/issues/113



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org