Solr
  1. Solr
  2. SOLR-8077

Replication can still cause index corruption.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical 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;
             }
      

        Issue Links

          Activity

          Hide
          Varun Thacker added a comment -

          +1

          Show
          Varun Thacker added a comment - +1
          Hide
          ASF subversion and git services added a comment -

          Commit 1704840 from Mark Miller in branch 'dev/trunk'
          [ https://svn.apache.org/r1704840 ]

          SOLR-8077: Replication can still cause index corruption.

          Show
          ASF subversion and git services added a comment - Commit 1704840 from Mark Miller in branch 'dev/trunk' [ https://svn.apache.org/r1704840 ] SOLR-8077 : Replication can still cause index corruption.
          Hide
          ASF subversion and git services added a comment -

          Commit 1704841 from Mark Miller in branch 'dev/branches/branch_5x'
          [ https://svn.apache.org/r1704841 ]

          SOLR-8077: Replication can still cause index corruption.

          Show
          ASF subversion and git services added a comment - Commit 1704841 from Mark Miller in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1704841 ] SOLR-8077 : Replication can still cause index corruption.

            People

            • Assignee:
              Mark Miller
              Reporter:
              Mark Miller
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development