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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]