[jira] [Updated] (LUCENE-7345) Make RAMDir write-once for files
[ https://issues.apache.org/jira/browse/LUCENE-7345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless updated LUCENE-7345: --- Attachment: LUCENE-7345.patch Another iteration, this time remove MDW's leniency when it hits unexpected {{IOException}} when trying to corrumpt unsync'd files. > 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 > Attachments: LUCENE-7345.patch, LUCENE-7345.patch, LUCENE-7345.patch, > LUCENE-7345.patch > > > 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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (LUCENE-7345) Make RAMDir write-once for files
[ https://issues.apache.org/jira/browse/LUCENE-7345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless updated LUCENE-7345: --- Attachment: LUCENE-7345.patch Here's a test + fix for MDW failing to corrupt files in some cases (caused by LUCENE-6171), which confounded the {{TestBoolean2}} fixing. > 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 > Attachments: LUCENE-7345.patch, LUCENE-7345.patch, LUCENE-7345.patch > > > 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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (LUCENE-7345) Make RAMDir write-once for files
[ https://issues.apache.org/jira/browse/LUCENE-7345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Muir updated LUCENE-7345: Attachment: LUCENE-7345.patch > 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 > Attachments: LUCENE-7345.patch, LUCENE-7345.patch > > > 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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (LUCENE-7345) Make RAMDir write-once for files
[ https://issues.apache.org/jira/browse/LUCENE-7345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Muir updated LUCENE-7345: Attachment: LUCENE-7345.patch > 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 > Attachments: LUCENE-7345.patch > > > 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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org