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

Replication can still cause index corruption.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 5.4, 6.0
    • None
    • None

    Description

      Bah. Somehow a critical part of SOLR-7134 did not get in with the commit.

             if (slowFileExists(indexDir, fname)) {
      -        LOG.info("Skipping move file - it already exists:" + fname);
      -        return true;
      +        LOG.warn("Cannot complete replication attempt because file already exists:" + fname);
      +        
      +        // we fail - we downloaded the files we need, if we can't move one in, we can't
      +        // count on the correct index
      +        return false;
             }
      

      Attachments

        Issue Links

          Activity

            People

              markrmiller@gmail.com Mark Miller
              markrmiller@gmail.com Mark Miller
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: