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

No need to call isIndexStale if full copy is already needed

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.10.4
    • Fix Version/s: 5.2, 6.0
    • Component/s: replication (java)
    • Labels:
      None

      Description

      During replication, we had a message "File _3ww7_Lucene41_0.tim expected to be 2027667 while it is 1861076" when in fact there was already a match on commit.getGeneration() >= latestGeneration

      So this extra operation is not needed.

        Attachments

        1. SOLR-7324.patch
          1.0 kB
          Varun Thacker

          Activity

            People

            • Assignee:
              varunthacker Varun Thacker
              Reporter:
              stephlag Stephan Lagraulet
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: