lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Kiehl <ki...@subshell.com>
Subject Re: Backup strategies
Date Wed, 27 Oct 2004 12:40:20 GMT
Christiaan Fluit wrote:

> I have no practical experience with backing up an online index, but I 
> would try to find out the details of the write lock mechanism used by 
> Lucene at the file level. You can then create a backup component that 
> write-locks the index and does a regular file copy of the index dir. 
> During backup time searches can continue while updates will be 
> temporarily blocked.

The problem with this approach is that this will not only block write 
operations but you will get timeouts for these operations which will 
lead to exceptions. To prevent this you must implement some queuing, 
which is what I would like avoid.

Regards,
Christoph


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


Mime
View raw message