epugh commented on code in PR #4657:
URL: https://github.com/apache/solr/pull/4657#discussion_r3669591271


##########
solr/core/src/java/org/apache/solr/filestore/DistribFileStore.java:
##########
@@ -418,11 +401,7 @@ private void distribute(FileInfo info) {
           .getUpdateExecutor()
           .submit(
               () -> {
-                try {
-                  Thread.sleep(10 * 1000);
-                } finally {
-                  tmpFiles.remove(info.path);
-                }
+                Thread.sleep(10 * 1000);
                 return null;
               });

Review Comment:
   Okay, I looked at this, and yeah, it turns out we had an extra try/catch 
loop as well...  



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

Reply via email to