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

Make RAMDir write-once for files

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 6.2, 7.0
    • None
    • None
    • New

    Description

      See http://jenkins.thetaphi.de/job/Lucene-Solr-master-MacOSX/3349

      The bug here is that we do this crazy copyFrom of all the index files without fsyncing it. So MockDirectoryWrapper treats it as corrupted.

      But while investigating I noticed that RAMdir is incredibly lenient, will happily truncate existing files and so on. I think we should fix that here too.

      Attachments

        1. LUCENE-7345.patch
          4 kB
          Robert Muir
        2. LUCENE-7345.patch
          4 kB
          Robert Muir
        3. LUCENE-7345.patch
          4 kB
          Michael McCandless
        4. LUCENE-7345.patch
          7 kB
          Michael McCandless

        Activity

          People

            Unassigned Unassigned
            rcmuir Robert Muir
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: