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
            Priority: Trivial
         Attachments: 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to