Michael Gibney created SOLR-17323:
-------------------------------------
Summary: Fix potential ConcurrentModificationException on
CachingDirectoryFactory.close()
Key: SOLR-17323
URL: https://issues.apache.org/jira/browse/SOLR-17323
Project: Solr
Issue Type: Bug
Affects Versions: 9.6
Reporter: Michael Gibney
Assignee: Michael Gibney
While working on SOLR-16962, [this CI
run|https://github.com/apache/solr/actions/runs/9405531578/job/25906907084]
encountered a {{ConcurrentModificationException}} on
{{CachingDirectoryFactory.close()}}.
It's unclear to me whether this issue existed before 9.6, but it may at least
have been exacerbated by SOLR-16866 (since previously the
directory-removal-reordering logic wasn't doing much of anything).
In any case, the fix is straightforward. I'm not aware of this issue ever
hitting in the wild, fwiw; and if it did, I'm not sure how much of a problem it
would be, given that it would hit only during {{DirectoryFactory.close()}} (at
which point things are shutting down anyway).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]