[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to