Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-8617

FSDirectory tries to create MMapDirectory on non default file system

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 5.0
    • Fix Version/s: None
    • Component/s: core/store
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                marschall Philippe Marschall
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m