Concurrency issues in Lucene IndexAccessor/IndexWriterProvider may lead to LockObtainFailedException: Lock held by this virtual machine

Description

I’m not sure how exactly, but this happened while debugging another PR, and the locks in IndexWriterProvider do seem dodgy. I’ll send a PR shortly.

Activity

Show:

Yoann Rodière September 29, 2023 at 10:39 AM

FWIW I’ve only ever managed to trigger the bug in debug mode with breakpoints all over the place, but I imagine this could happen in production as well, however unlikely.

Fixed

Details

Assignee

Reporter

Sprint

Priority

Created September 29, 2023 at 9:49 AM
Updated October 3, 2023 at 8:00 AM
Resolved September 29, 2023 at 11:36 AM