[
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: [email protected]
For additional commands, e-mail: [email protected]