From lucene-user-return-10888-apmail-jakarta-lucene-user-archive=jakarta.apache.org@jakarta.apache.org Wed Oct 27 12:41:55 2004 Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@www.apache.org Received: (qmail 22913 invoked from network); 27 Oct 2004 12:41:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 27 Oct 2004 12:41:55 -0000 Received: (qmail 42886 invoked by uid 500); 27 Oct 2004 12:41:04 -0000 Delivered-To: apmail-jakarta-lucene-user-archive@jakarta.apache.org Received: (qmail 42777 invoked by uid 500); 27 Oct 2004 12:41:02 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 42698 invoked by uid 99); 27 Oct 2004 12:41:01 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of jak-lucene-user@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO main.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 27 Oct 2004 05:41:01 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CMn6i-0006SG-00 for ; Wed, 27 Oct 2004 14:40:52 +0200 Received: from gateway.subshell.com ([212.79.22.193]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Oct 2004 14:40:51 +0200 Received: from kiehl by gateway.subshell.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Oct 2004 14:40:51 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: lucene-user@jakarta.apache.org From: Christoph Kiehl Subject: Re: Backup strategies Date: Wed, 27 Oct 2004 14:40:20 +0200 Lines: 16 Message-ID: References: <417F9413.1040700@aduna.biz> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: gateway.subshell.com User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en In-Reply-To: <417F9413.1040700@aduna.biz> Sender: news X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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