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 7FB4C10BE9 for ; Wed, 17 Apr 2013 21:23:18 +0000 (UTC) Received: (qmail 8333 invoked by uid 500); 17 Apr 2013 21:23:17 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 8269 invoked by uid 500); 17 Apr 2013 21:23:17 -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 8252 invoked by uid 99); 17 Apr 2013 21:23:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Apr 2013 21:23:17 +0000 Date: Wed, 17 Apr 2013 21:23:16 +0000 (UTC) From: "Hoss Man (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (SOLR-4661) Index Version & Gen look out of sync in replication UI when master searcher uses older commit then what is replicatable 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-4661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hoss Man resolved SOLR-4661. ---------------------------- Resolution: Fixed Fix Version/s: 5.0 4.3 Assignee: Hoss Man Committed revision 1469073. Committed revision 1469074. Committed revision 1469076. > Index Version & Gen look out of sync in replication UI when master searcher uses older commit then what is replicatable > ----------------------------------------------------------------------------------------------------------------------- > > Key: SOLR-4661 > URL: https://issues.apache.org/jira/browse/SOLR-4661 > Project: Solr > Issue Type: Bug > Components: replication (java), web gui > Affects Versions: 4.2 > Environment: Solr 4.2 on Linux with JBoss 7.1.1, JDK 1.7 > Reporter: Aditya > Assignee: Hoss Man > Labels: gui, replication, web > Fix For: 4.3, 5.0 > > Attachments: hoss_test.zip, IndexVersionSyncIssue.jpg, SOLR-4661.patch, SOLR-4661.patch, SOLR-4661.patch > > > the ReplicationHandler (and the replication admin UI screen) report the index version & gen for the master based on what commit point is currently open for searching -- but this is not necessarily the most recent commit point available for replication. > Thus, it can appear that a slave has "gotten ahead" of the master, if there are "empty commits" (because of reader reopening shotcuts) or commits using openSearcher=false. > We need to add additional data to help make it clear there is no actual problem in this sitation. > Summary of original bug report.. > {panel} > Index and Gen number on Slave is higher than master. > If you apply commit on master with no pending docs then the commit time stamp and gen is incremented. When Slaves polls master for replication it see the index version difference and starts replicating but all files are skipped. > On Admin UI (on Slaves) the version number displayed for master is old where as for slave is the latest which is higher than master. > Below is the response from master (/replication?command=details) where i see two different Version an Gen numbers. This creates confusion of having version out of sync, though its not. > ... > {panel} -- 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