You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2016/06/19 15:07:05 UTC

[jira] [Created] (LUCENE-7345) Make RAMDir write-once for files

Robert Muir created LUCENE-7345:
-----------------------------------

             Summary: Make RAMDir write-once for files
                 Key: LUCENE-7345
                 URL: https://issues.apache.org/jira/browse/LUCENE-7345
             Project: Lucene - Core
          Issue Type: Bug
            Reporter: Robert Muir


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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