[jira] [Commented] (SOLR-4597) CachingDirectoryFactory#remove should not attempt to empty/remove the index right away but flag for removal after close.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (SOLR-4597) CachingDirectoryFactory#remove should not attempt to empty/remove the index right away but flag for removal after close.

JIRA jira@apache.org

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

Mark Miller commented on SOLR-4597:
-----------------------------------

Previously, we tried to dance around this and do a remove from client code after the directory was released. This is error prone and fragile and fairly ugly semantics for the API.
               

> CachingDirectoryFactory#remove should not attempt to empty/remove the index right away but flag for removal after close.
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-4597
>                 URL: https://issues.apache.org/jira/browse/SOLR-4597
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>             Fix For: 4.3, 5.0
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]