Description
Observed occasional ERROR log entries when CachingDirectryFactory#close() is called. The respective snippet from the log is this:
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
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.
Attachments
Attachments
Issue Links
- is caused by
-
SOLR-16074 Reproducible failure TestReplicationHandler.doTestStressReplication
- Closed
- links to