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

During replication use checksums to verify if files are the same

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0, 6.0
    • Component/s: replication (java)
    • Labels:
      None

      Description

      Currently we check if an index file on the master and slave is the same by checking if it's name and file length match.

      With LUCENE-2446 we now have a checksums for each index file in the segment. We should leverage this to verify if two files are the same.

      Places like SnapPuller.isIndexStale and SnapPuller.downloadIndexFiles should check against the checksum also.

        Attachments

        1. SOLR-6920-5x.patch
          18 kB
          Mark Miller
        2. SOLR-6920-5x.patch
          18 kB
          Mark Miller
        3. SOLR-6920-5x.patch
          19 kB
          Mark Miller
        4. SOLR-6920-5x.patch
          19 kB
          Mark Miller
        5. SOLR-6920.patch
          12 kB
          Varun Thacker
        6. SOLR-6920.patch
          11 kB
          Varun Thacker
        7. SOLR-6920.patch
          9 kB
          Varun Thacker
        8. SOLR-6920.patch
          15 kB
          Mark Miller
        9. SOLR-6920.patch
          17 kB
          Mark Miller
        10. SOLR-6920.patch
          16 kB
          Varun Thacker

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: