lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Carpenter <>
Subject Re: [jira] Commented: (LUCENENET-216) FSDirectory.Sync Fix to Ensure Flush to Disk
Date Tue, 10 Nov 2009 12:25:30 GMT
I've done some work with Lucene.Net on Mono, so keeping it running
there is important to me.  As for issues related to the future move to
.Net 3.5, Mono has support for 3.5 including LINQ, so that shouldn't
be a concern.  The P/Invokes are the biggest concern to me.

Sean Carpenter

On Tue, Nov 10, 2009 at 12:44 AM, Michael Garski (JIRA) <> wrote:
>    [
> Michael Garski commented on LUCENENET-216:
> ------------------------------------------
> Sounds like a good course of action for now.  Hopefully some of the Mono Lucene.Net
users will see this thread and chime in.
> I'll create a new patch with conditional compilation and with Nick's suggestion on the
mailing list earlier regarding security.
>> FSDirectory.Sync Fix to Ensure Flush to Disk
>> --------------------------------------------
>>                 Key: LUCENENET-216
>>                 URL:
>>             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.

View raw message