[
https://issues.apache.org/jira/browse/SOLR-17323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Gibney resolved SOLR-17323.
-----------------------------------
Fix Version/s: 9.7
Resolution: Fixed
> 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
> Priority: Minor
> Fix For: 9.7
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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]