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


##########
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:
   That issue merely moved this code slightly; it didn't introduce it.  Anyway, 
I suppose this code potentially prematurely exited before reading the whole 
stream, and that's why you removed it?



-- 
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