lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <>
Subject [jira] [Commented] (LUCENE-5588) We should also fsync the directory when committing
Date Tue, 06 Jan 2015 13:17:35 GMT


Uwe Schindler commented on LUCENE-5588:


This is about LUCENE.NET, has nothing to do with Lucene Java. In Java, syncing directories
with Java 7 works on Linux (and that’s documented and tested).
Please don't refer to LUCENE JIRA issues from pull requests to other projects, because this
leads to confusion.


Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen

> We should also fsync the directory when committing
> --------------------------------------------------
>                 Key: LUCENE-5588
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/store
>            Reporter: Uwe Schindler
>            Assignee: Uwe Schindler
>             Fix For: 4.8, Trunk
>         Attachments: LUCENE-5588-nonexistfix.patch, LUCENE-5588.patch, LUCENE-5588.patch,
> Since we are on Java 7 now and we already fixed FSDir.sync to use FileChannel (LUCENE-5570),
we can also fsync the directory (at least try to do it). Unlike RandomAccessFile, which must
be a regular file, can also open a directory:

This message was sent by Atlassian JIRA

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

View raw message