Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 41350 invoked from network); 16 Dec 2008 06:05:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Dec 2008 06:05:13 -0000 Received: (qmail 28550 invoked by uid 500); 16 Dec 2008 06:05:20 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 28506 invoked by uid 500); 16 Dec 2008 06:05:19 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 28495 invoked by uid 99); 16 Dec 2008 06:05:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Dec 2008 22:05:19 -0800 X-ASF-Spam-Status: No, hits=3.4 required=10.0 tests=FS_REPLICA,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of stopman@gmail.com designates 209.85.146.181 as permitted sender) Received: from [209.85.146.181] (HELO wa-out-1112.google.com) (209.85.146.181) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Dec 2008 06:04:57 +0000 Received: by wa-out-1112.google.com with SMTP id n4so1505250wag.5 for ; Mon, 15 Dec 2008 22:04:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=kRUNj0hPFU8ODSRxukdsMuCVRsK4FQTatN1PyplSU/M=; b=uwZWNGRHEYmzx2sd92NYmQq3MQkek44ukf3dyaAbT5JpR6LeHKcYHIG7wWdZokwy5b h7jw/QJLeD07OojI38SugOy+qDy2Aw5iSGASVBZNTCSNLufiaCJTB1jQdMsjNMlTg4S9 ySqHZevibSx8yyz5DHDKZynjyErnyso+kqErc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=kNPchMlNJ5DwVb4K4w9nLwOjLFHJ3s7UPGBmmcagmD04jonxFQM8eRFab2KldP8Nhw yGMdXe98XDmVIp/KyeaThy+9vNdIjqmVUpJCeVDjGLD5qFWoP02MiVwTLhThra8DOPSF qbnae8k/mOmg7EGL186to6Ny9m02Jt1E2MdaI= Received: by 10.114.195.19 with SMTP id s19mr5495224waf.123.1229407477467; Mon, 15 Dec 2008 22:04:37 -0800 (PST) Received: by 10.114.124.9 with HTTP; Mon, 15 Dec 2008 22:04:37 -0800 (PST) Message-ID: <652776090812152204g3fd47793ta77a2fb09ce30296@mail.gmail.com> Date: Mon, 15 Dec 2008 22:04:37 -0800 From: "Michael Stoppelman" To: java-user@lucene.apache.org Subject: replication question MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_126761_31179758.1229407477462" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_126761_31179758.1229407477462 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I've got a question from Doug's original email about replication ( http://www.mail-archive.com/lucene-user@jakarta.apache.org/msg12709.html): "1. On the index master, periodically checkpoint the index. Every minute or so the IndexWriter is closed and a 'cp -lr index index.DATE' command is executed from Java, where DATE is the current date and time. This efficiently makes a copy of the index when its in a consistent state by constructing a tree of hard links. If Lucene re-writes any files (e.g., the segments file) a new inode is created and the copy is unchanged." Is closing the IndexWriter really a requirement on taking a snapshot? Or can one take a snapshot on an index being written, I've done this in my development environment and it seems to work fine w/o closing the IndexWriter. Also the solr replication shell scripts don't seem to worry about this either. M ------=_Part_126761_31179758.1229407477462--