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 17:31:12 UTC

[jira] [Resolved] (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 resolved LUCENE-6082.
---------------------------------
       Resolution: Fixed
    Fix Version/s: Trunk
                   5.0

> 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
>             Fix For: 5.0, Trunk
>
>         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