lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: Option to fsync files
Date Wed, 19 Nov 2008 16:21:33 GMT

Well... because it's quite dangerous to turn off.

A simple way to disable it entirely is to subclass FSDir and override  
sync() to be a noop.

Mike

Mark Miller wrote:

> What was the reason not to make this toggle-able?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
>


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


Mime
View raw message