lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shai Erera (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-5585) Expose fsync as a static method on FSDirectory
Date Wed, 09 Apr 2014 13:56:22 GMT

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

Shai Erera commented on LUCENE-5585:
------------------------------------

+1. How about moving it to IOUtils? There's nothing Directory-related there. And maybe the
method should be just fsync(file)?

> Expose fsync as a static method on FSDirectory
> ----------------------------------------------
>
>                 Key: LUCENE-5585
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5585
>             Project: Lucene - Core
>          Issue Type: Wish
>            Reporter: Simon Willnauer
>             Fix For: 4.8, 5.0
>
>         Attachments: LUCENE-5585.patch
>
>
> I basically have a copied version of the fsync code from Lucene which was obviously buggy.
I wonder if we can expose this function as a static util on FSDirectory?



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message