lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Willnauer (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (LUCENE-7300) Add directory wrapper that optionally uses hardlinks in copyFrom
Date Thu, 26 May 2016 08:46:12 GMT

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

Simon Willnauer resolved LUCENE-7300.
-------------------------------------
       Resolution: Fixed
         Assignee: Simon Willnauer
    Fix Version/s: master (7.0)

> Add directory wrapper that optionally uses hardlinks in copyFrom
> ----------------------------------------------------------------
>
>                 Key: LUCENE-7300
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7300
>             Project: Lucene - Core
>          Issue Type: Improvement
>    Affects Versions: 6.1
>            Reporter: Simon Willnauer
>            Assignee: Simon Willnauer
>             Fix For: 6.1, master (7.0)
>
>         Attachments: LUCENE-7300.patch, LUCENE-7300.patch
>
>
> Today we always do byte-by-byte copy in Directory#copyFrom. While this is reliable and
should be the default, certain situations can be improved by using hardlinks if possible to
get constant time copy on OS / FS that support such an operation. Something like this could
reside in misc if it's contained enough since it requires LinkPermissions to be set and needs
to detect if both directories are subclasses of FSDirectory etc.



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