Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-8641

Core Deleted After Failed Index Fetch When Replication Disabled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 5.1
    • None
    • replication (java)
    • None
    • Windows Server 2008 R2

    Description

      I am getting occasional Index Fetch Failures (due to server overloading I suspect). This is appearing in my log file as

      Master at: http://MOTOSOLR01:9000/solr/ShowcaseData is not available. Index fetch failed. Exception: Server refused connection at: http://MOTOSOLR01:9000/solr/ShowcaseData

      At the point of the failure the master version of the core has replication disabled (but still contains data) and it appears that on the next replication cycle that the slave version of the core is being emptied. Once replication is enabled everything works as expected.

      Having looked at the source code I suspect that lines 311-327 in indexfetcher.java are at fault. What I think is happening is that the failed IndexFetch is setting forcereplication to true, and this cause a forced delete of the core before reloading the core (which then doesn't happen as replication is disabled)

      Attachments

        Activity

          People

            Unassigned Unassigned
            motors-philw phil watson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: