HoustonPutman commented on PR #2336:
URL: https://github.com/apache/solr/pull/2336#issuecomment-1984577087

   Not sure if this is the end-all-be-all approach. Maybe the error occurs 
while it's deleting a child tree, and the rest of the files arent' deleted?
   
   Here's the stack trace:
   
   ```
   2024-03-07 18:59:44.928 ERROR 
(parallelCoreAdminAPIBaseExecutor-20-thread-6-processing-solr-e2e-1-foo-solrcloud-0.test.solr.org:80_solr
 e2e-2_shard2_replica_n5 solr-e2e-1-foo-solrcloud-0.test.solr.org-78 
move-replicas-foo-solrcloud-0698005595075831 unload) [ 
x:e2e-2_shard2_replica_n5 t:solr-e2e-1-foo-solrcloud-0.test.solr.org-78] 
o.a.s.c.CachingDirectoryFactory Error removing directory => 
java.nio.file.NoSuchFileException: 
/var/solr/data/e2e-2_shard2_replica_n5/data/index
        at java.base/sun.nio.fs.UnixException.translateToIOException(Unknown 
Source)
   java.nio.file.NoSuchFileException: 
/var/solr/data/e2e-2_shard2_replica_n5/data/index
        at sun.nio.fs.UnixException.translateToIOException(Unknown Source) 
~[?:?]
        at sun.nio.fs.UnixException.rethrowAsIOException(Unknown Source) ~[?:?]
        at sun.nio.fs.UnixException.rethrowAsIOException(Unknown Source) ~[?:?]
        at sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(Unknown 
Source) ~[?:?]
        at sun.nio.fs.UnixFileSystemProvider.readAttributes(Unknown Source) 
~[?:?]
        at sun.nio.fs.LinuxFileSystemProvider.readAttributes(Unknown Source) 
~[?:?]
        at java.nio.file.Files.readAttributes(Unknown Source) ~[?:?]
        at java.nio.file.FileTreeWalker.getAttributes(Unknown Source) ~[?:?]
        at java.nio.file.FileTreeWalker.visit(Unknown Source) ~[?:?]
        at java.nio.file.FileTreeWalker.walk(Unknown Source) ~[?:?]
        at java.nio.file.Files.walkFileTree(Unknown Source) ~[?:?]
        at java.nio.file.Files.walkFileTree(Unknown Source) ~[?:?]
        at 
org.apache.commons.io.file.PathUtils.visitFileTree(PathUtils.java:1654) ~[?:?]
        at 
org.apache.commons.io.file.PathUtils.lambda$deleteDirectory$0(PathUtils.java:503)
 ~[?:?]
        at 
org.apache.commons.io.file.PathUtils.withPosixFileAttributes(PathUtils.java:1774)
 ~[?:?]
        at 
org.apache.commons.io.file.PathUtils.deleteDirectory(PathUtils.java:502) ~[?:?]
        at 
org.apache.commons.io.file.PathUtils.deleteDirectory(PathUtils.java:487) ~[?:?]
        at 
org.apache.solr.core.StandardDirectoryFactory.removeDirectory(StandardDirectoryFactory.java:92)
 ~[?:?]
        at 
org.apache.solr.core.CachingDirectoryFactory.close(CachingDirectoryFactory.java:216)
 ~[?:?]
        at org.apache.solr.core.SolrCore.doClose(SolrCore.java:1891) ~[?:?]
        at org.apache.solr.core.SolrCore.close(SolrCore.java:1755) ~[?:?]
        at org.apache.solr.core.SolrCore.closeAndWait(SolrCore.java:1561) ~[?:?]
        at org.apache.solr.core.CoreContainer.unload(CoreContainer.java:2170) 
~[?:?]
        at 
org.apache.solr.handler.admin.CoreAdminOperation.lambda$static$1(CoreAdminOperation.java:128)
 ~[?:?]
        at 
org.apache.solr.handler.admin.CoreAdminOperation.execute(CoreAdminOperation.java:414)
 ~[?:?]
        at 
org.apache.solr.handler.admin.CoreAdminHandler$CallInfo.call(CoreAdminHandler.java:374)
 ~[?:?]
        at 
org.apache.solr.handler.admin.CoreAdminHandler.lambda$handleRequestBody$0(CoreAdminHandler.java:235)
 ~[?:?]
        at 
org.apache.solr.handler.admin.CoreAdminHandler$CoreAdminAsyncTracker.lambda$submitAsyncTask$0(CoreAdminHandler.java:473)
 ~[?:?]
        at 
com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:212)
 ~[metrics-core-4.2.20.jar:4.2.20]
        at 
org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:294)
 ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 
~[?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 
~[?:?]
        at java.lang.Thread.run(Unknown Source) [?:?]
   ```


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