Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
9.6
-
None
-
None
Description
While working on SOLR-16962, this CI run 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).
Attachments
Issue Links
- links to
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)