[ 
https://issues.apache.org/jira/browse/LUCENE-6082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14229126#comment-14229126
 ] 

Robert Muir commented on LUCENE-6082:
-------------------------------------

Well, there is no processEvents() in the exception handling block of 
updateDocument, etc. I think this is a good thing.


> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to