Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3C04DEFFE for ; Thu, 21 Feb 2013 14:16:19 +0000 (UTC) Received: (qmail 53773 invoked by uid 500); 21 Feb 2013 14:16:15 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 53446 invoked by uid 500); 21 Feb 2013 14:16:14 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 53054 invoked by uid 99); 21 Feb 2013 14:16:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Feb 2013 14:16:14 +0000 Date: Thu, 21 Feb 2013 14:16:14 +0000 (UTC) From: "Mark Miller (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (SOLR-4471) slave index version is different form master (full index copy needed) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-4471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Miller updated SOLR-4471: ------------------------------ Fix Version/s: 5.0 4.2 > slave index version is different form master (full index copy needed) > --------------------------------------------------------------------- > > Key: SOLR-4471 > URL: https://issues.apache.org/jira/browse/SOLR-4471 > Project: Solr > Issue Type: Bug > Components: replication (java) > Affects Versions: 4.1 > Reporter: Andre Charton > Labels: master, replication, slave, version > Fix For: 4.2, 5.0 > > Attachments: SOLR-4471.patch > > > Scenario: master/slave replication, master delta index runs every 10 minutes, slave poll interval is 10 sec. > There was an issue SOLR-4413 - slave reads index from wrong directory, so slave is full copy index from master every time, which is fixed after applying this patch from 4413 (see script below). > Now on replication the slave downloads only updated files, but slave is create a new segement file and also a new version of index (generation is identical with master). On next polling the slave is download the full index again, because the new version slave is force a full copy. > Problem is the new version of index on the slave after first replication. > {noformat:apply patch SOLR-4413 script, please copy patch into patches directory before useage.} > mkdir work > cd work > svn co http://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_4_1/ > cd lucene_solr_4_1 > patch -p0 < ../../patches/SOLR-4413.patch > cd solr > ant dist > {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org