dsmiley commented on code in PR #2276:
URL: https://github.com/apache/solr/pull/2276#discussion_r1575036574


##########
solr/core/src/java/org/apache/solr/handler/IndexFetcher.java:
##########
@@ -1878,7 +1870,6 @@ private int fetchPackets(FastInputStream fis) throws 
Exception {
           log.debug("Fetched and wrote {} bytes of file: {}", bytesDownloaded, 
fileName);
           // errorCount is always set to zero after a successful packet
           errorCount = 0;
-          if (bytesDownloaded >= size) return 0;

Review Comment:
   I did a git blame and found: SOLR-14299 IndexFetcher doesn't reset count to 
0 after the last packet is received



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to