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

SOLR-4170: The 'backup' ReplicationHandler command can sometimes use a stale index directory rather than the current one.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.1, 6.0
    • Component/s: SolrCloud
    • Labels:
      None

      Description

      I'm using SolrCloud. When I'm trying to create index snapshot - exception occurs:
      INFO: [test] webapp=/solr path=/replication params=

      {command=backup&numberToKeep=1}

      status=0 QTime=1
      Dec 07, 2012 6:00:02 PM org.apache.solr.handler.SnapShooter createSnapshot
      SEVERE: Exception while creating snapshot
      java.io.FileNotFoundException: File /solr/cores/test/data/index/segments_g does not exist
      at org.apache.solr.handler.SnapShooter$FileCopier.copyFile(SnapShooter.java:194)
      at org.apache.solr.handler.SnapShooter$FileCopier.copyFiles(SnapShooter.java:185)
      at org.apache.solr.handler.SnapShooter.createSnapshot(SnapShooter.java:105)
      at org.apache.solr.handler.SnapShooter$1.run(SnapShooter.java:78)

      Issue occurs randomly. Reloading core usually helps, but sometimes core has to be reloaded couple of times to make snapshot possible.

        Attachments

          Activity

            People

            • Assignee:
              markrmiller@gmail.com Mark Miller
              Reporter:
              mrzewucki Marcin Rzewucki
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: