lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Drob (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-9902) StandardDirectoryFactory should use Files API for it's move implementation.
Date Mon, 09 Jan 2017 21:37:58 GMT

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

Mike Drob commented on SOLR-9902:
---------------------------------

One more clarification I'd be interested in here...

If {{Files.move}} fails for whatever reason, would it make sense to fall back to the {{super.move}}
implementation or is throwing the exception sufficient for a best effort attempt here?

> StandardDirectoryFactory should use Files API for it's move implementation.
> ---------------------------------------------------------------------------
>
>                 Key: SOLR-9902
>                 URL: https://issues.apache.org/jira/browse/SOLR-9902
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>             Fix For: master (7.0), 6.4
>
>         Attachments: SOLR-9902.patch
>
>
> It's done in a platform independent way as opposed to the old File API.



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


Mime
View raw message