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

FSDirectory tries to create MMapDirectory on non default file system

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 5.0
    • None
    • core/store
    • None
    • 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

              Unassigned Unassigned
              marschall Philippe Marschall
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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