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

Replication can still cause index corruption.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.4, 6.0
    • Component/s: None
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: