You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2024/04/19 21:03:00 UTC
[jira] [Commented] (SOLR-16866) CachingDirectoryFactory Throwing Error When Closing
[ https://issues.apache.org/jira/browse/SOLR-16866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17839120#comment-17839120 ]
ASF subversion and git services commented on SOLR-16866:
--------------------------------------------------------
Commit 72793f5b9d9b1c611c8806eb2fa3bf5cc493f651 in solr's branch refs/heads/main from Michael Gibney
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=72793f5b9d9 ]
SOLR-16866: Reorder nested directory deletions to avoid logging spurious NoSuchFileException (#2349)
> CachingDirectoryFactory Throwing Error When Closing
> ---------------------------------------------------
>
> Key: SOLR-16866
> URL: https://issues.apache.org/jira/browse/SOLR-16866
> Project: Solr
> Issue Type: Bug
> Affects Versions: 9.2.1
> Reporter: Stefan Pieper
> Priority: Major
> Labels: core
> Attachments: solr.blueprint_gnylctsgemcz_users.log
>
> Time Spent: 3.5h
> Remaining Estimate: 0h
>
> Observed occasional ERROR log entries when {{CachingDirectryFactory#close()}} is called. The respective snippet from the log is this:
> {noformat}
> 2023-07-06 08:43:37.618 DEBUG (qtp212011969-1801) [ blueprint_gnylctsgemcz_users] o.a.s.c.CachingDirectoryFactory Removing directory after core close: /var/solr/data/blueprint_gnylctsgemcz_users/data
> 2023-07-06 08:43:37.620 DEBUG (qtp212011969-1801) [ blueprint_gnylctsgemcz_users] o.a.s.c.CachingDirectoryFactory Removing directory after core close: /var/solr/data/blueprint_gnylctsgemcz_users/data/index
> 2023-07-06 08:43:37.620 ERROR (qtp212011969-1801) [ blueprint_gnylctsgemcz_users] o.a.s.c.CachingDirectoryFactory Error removing directory => java.nio.file.NoSuchFileException: /var/solr/data/blueprint_gnylctsgemcz_users/data/index
> java.nio.file.NoSuchFileException: /var/solr/data/blueprint_gnylctsgemcz_users/data/index
> {noformat}
> It seems like the order of directory removal is causing this (first parent dir _data_, then sub-dir _data/index_). Entries should be re-arranged or just the parent dir be handled.
> Full log with entries dealing with the respective core is attached.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org