You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2013/03/06 03:40:13 UTC
[jira] [Updated] (SOLR-2677) timesFailed is incrementing, without a
real error
[ https://issues.apache.org/jira/browse/SOLR-2677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hoss Man updated SOLR-2677:
---------------------------
Attachment: SOLR-2677_test.patch
>From what i can tell, this bug was fixed in Solr 4.0 as a result of other changes/fixes to replication.
the attached test patch passes on trunk, and 4x, but similar assertions added to the 3.6.1 test fail.
> timesFailed is incrementing, without a real error
> -------------------------------------------------
>
> Key: SOLR-2677
> URL: https://issues.apache.org/jira/browse/SOLR-2677
> Project: Solr
> Issue Type: Bug
> Components: replication (java)
> Affects Versions: 3.3
> Environment: Tomcat6, Debian Squeeze
> Reporter: Mark Plomer
> Assignee: Shalin Shekhar Mangar
> Priority: Trivial
> Attachments: SOLR-2677_test.patch, successfulInstall.patch
>
>
> The counters timesFailed and replicationFailedAtList on slave replication details page indicate errors on every poll, but in log file there is only:
> INFO: Slave in sync with master.
> This happens until the first real replication of files.
> I tracked things down and it seems that in SnapPuller.java the "successfulInstall" is initialized with false and not set to true when indexes are in sync.
> I'll attach a small patch (untested).
--
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