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 2014/11/30 09:03:12 UTC

[jira] [Updated] (LUCENE-6082) only IndexFileDeleter should delete files

     [ https://issues.apache.org/jira/browse/LUCENE-6082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Muir updated LUCENE-6082:
--------------------------------
    Attachment: LUCENE-6082.patch

Patch removing these abort methods and deletions from the codec API.

This cleans it up a bit. We should still cleanup other deletions inside indexwriter itself on other issues though.

> only IndexFileDeleter should delete files
> -----------------------------------------
>
>                 Key: LUCENE-6082
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6082
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Robert Muir
>         Attachments: LUCENE-6082.patch
>
>
> Currently the codec API has SI writers, stored fields writers, and term vectors writers all deleting files, Stored fields and term vectors codec APIs have abort() methods, etc.
> This is outdated and scary, since TrackingDirectoryWrapper is used to the list of files the codec used, and this is ultimately passed to IndexFileDeleter.



--
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