Return-Path: Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: (qmail 82742 invoked from network); 12 Jul 2009 21:49:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Jul 2009 21:49:33 -0000 Received: (qmail 64510 invoked by uid 500); 12 Jul 2009 21:49:41 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 64433 invoked by uid 500); 12 Jul 2009 21:49:41 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 64423 invoked by uid 99); 12 Jul 2009 21:49:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Jul 2009 21:49:41 +0000 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 jordanmendler@gmail.com designates 209.85.200.170 as permitted sender) Received: from [209.85.200.170] (HELO wf-out-1314.google.com) (209.85.200.170) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Jul 2009 21:49:33 +0000 Received: by wf-out-1314.google.com with SMTP id 24so589458wfg.20 for ; Sun, 12 Jul 2009 14:49:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=qiNC4RsV8NMu4aMhlfF0+c/oLVJ704gCWeQaEWfZuKo=; b=BswlD4j7jNFyC1dXs0oobP+U9Kz6aoVSV91lwYVWGz9LJe9ENVuNXMS+NRUvnvTd0Q yxqDJu66b9OmNbY+nutdUFzPCJPC/rPtBU7ljpP+FT0Y/RCgd2rmmdQJcQbZkPQfl2k6 6jX4cEHvWynv96Ek5euBM9g3xvlI3L4Yb87uI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; b=wmwgpGat4bW9BPGsi11h3wrrysMI4U9V2sE7Saz3keakLr52aRSakccXKnxtvYE2BF m5ItOK5wnZMlLTohjGIenXt6s4Fy+PTuHGe9wUzHiQ4pqZVVJ8XN9x33yJXbb7yfZ/Fe EqARaQaqvvEUJ/jUThelPY+mRAfHuwvKg4YZo= MIME-Version: 1.0 Sender: jordanmendler@gmail.com Received: by 10.142.102.10 with SMTP id z10mr1279669wfb.267.1247435353196; Sun, 12 Jul 2009 14:49:13 -0700 (PDT) From: Jordan Mendler Date: Sun, 12 Jul 2009 14:48:53 -0700 X-Google-Sender-Auth: 5ac08e0da1eaa717 Message-ID: <654e62180907121448h51c8de75u320869b7349ccef2@mail.gmail.com> Subject: Replication on Slave startup (Solr 1.4) To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary=00504502cb6c1b892b046e892ddf X-Virus-Checked: Checked by ClamAV on apache.org --00504502cb6c1b892b046e892ddf Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi all, I am having an issue where Solr slaves do not pull replication data on startup. Rather they wait until the amount of time of poll_interval, before pulling the initial index. This is causing new and rebooted nodes to have a stale index for polling_interval seconds, in addition to the amount of time it takes to pull the data. Is there some native setting to make slaves pull on startup? A hack could be to add a curl *http://localhost:solr_port /solr/replication?command=fetchindex* to my Solr startup script, but this does not seem like a clean way to do it. Furthermore, has anyone tried to 'warm' nodes after provisioning before bringing them into a production read cluster? I would be curious what procedure you are using to pull and warm the new index from the mastern before exposing newly provisioned slaves to your production load balancer. Thanks so much, Jordan --00504502cb6c1b892b046e892ddf--