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/06/07 15:26:00 UTC
[jira] [Commented] (SOLR-17323) Fix potential ConcurrentModificationException on CachingDirectoryFactory.close()
[ https://issues.apache.org/jira/browse/SOLR-17323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17853190#comment-17853190 ]
ASF subversion and git services commented on SOLR-17323:
--------------------------------------------------------
Commit 4d9a0b78d0b40693ee2c50edfa938750aa111d4b in solr's branch refs/heads/main from Michael Gibney
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=4d9a0b78d0b ]
SOLR-17323: Fix potential ConcurrentModificationException on CachingDirectoryFactory.close() (#2505)
> 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
> 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: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org