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

IndexFetcher doesnt' reset errorCount to 0 after the last packet is received

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.7.1
    • Fix Version/s: 8.5
    • Component/s: replication (java)
    • Labels:
      None

      Description

      While fetching the files from master `IndexFetcher` retries 5 times before giving up. It resets the  errorCount after successfully receiving the packet except for the last packet. Seems like an oversight. 

       

      https://github.com/apache/lucene-solr/blob/master/solr/core/src/java/org/apache/solr/handler/IndexFetcher.java#L1739-L1742

        Attachments

          Activity

            People

            • Assignee:
              mdrob Mike Drob
              Reporter:
              praste Pushkar Raste

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 50m
                50m

                  Issue deployment