lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (LUCENE-7300) Add directory wrapper that optionally uses hardlinks in copyFrom
Date Thu, 26 May 2016 08:44:12 GMT


ASF subversion and git services commented on LUCENE-7300:

Commit a6839beb87a73bff6139df44a7b9168a498dd426 in lucene-solr's branch refs/heads/branch_6x
from [~simonw]
[;h=a6839be ]

LUCENE-7300: Add HardLinkCopyDirectoryWrapper to speed up file copying if hardlinks are applicable

> Add directory wrapper that optionally uses hardlinks in copyFrom
> ----------------------------------------------------------------
>                 Key: LUCENE-7300
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Improvement
>    Affects Versions: 6.1
>            Reporter: Simon Willnauer
>             Fix For: 6.1
>         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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message