lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <yo...@apache.org>
Subject Re: [jira] Commented: (LUCENE-1044) Behavior on hard power shutdown
Date Mon, 12 Nov 2007 19:47:54 GMT
On Nov 12, 2007 1:41 PM, robert engels <rengels@ix.netcom.com> wrote:
> Would it not be simpler to pure Java...
>
> Add the descriptor that needs to be sync'd (and closed) to a Queue.
> Start a Thread to sync/close descriptors.
>
> In commit(), wait for all sync threads to terminate using join().

This would also need to be hooked in with file deletion (since a file
could be created and deleted before commit()).

-Yonik

---------------------------------------------------------------------
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