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

Replication can still cause index corruption.

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    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

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment