lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Aroush (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENENET-216) FSDirectory.Sync Fix to Ensure Flush to Disk
Date Tue, 10 Nov 2009 05:38:32 GMT

    [ https://issues.apache.org/jira/browse/LUCENENET-216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12775304#action_12775304
] 

George Aroush commented on LUCENENET-216:
-----------------------------------------

Sorry, I can't answer your question with full knowledge.  Beagle is written using Mono version
of Lucene.Net, I don't know it's state, or what else maybe using Lucene.Net with Mono.  But
with 2.9, this is probably the only area we may have to put in conditional compilation code
to make 2.9 usable by Mono with very little effort for us and for Mono.

When we start with 3.0, we can engage Mono folks on this subject, and we may end up saying
"sorry, we have to move on".

> FSDirectory.Sync Fix to Ensure Flush to Disk
> --------------------------------------------
>
>                 Key: LUCENENET-216
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-216
>             Project: Lucene.Net
>          Issue Type: Bug
>            Reporter: Michael Garski
>         Attachments: FSDirectory.Sync.patch
>
>
> DIGY and Doug discussed this issue during the 2.9 port, and this is a patch to give 2.9
the expected behavior of actually ensuring the OS flushes it's buffers to disk.  DIGY suggested
using the kernel32 method FlushFileBuffers, and after investigation he was correct!  FileStream.Flush
doesn't do that - the OS could still be caching it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message