jackrabbit-oak
jackrabbit-oak copied to clipboard
OAK-8898: On querying, IndexReader failed with AlreadyClosedException
Looks like we were looking at this in a wrong way. What we want is to change it in such a way so that release holder in not called twice on a holder. So removed all locks and instead of blocking thread now using an atomic boolean to make threads bypass decrementing references of index reader.
This PR is stale because it has been open 24 months with no activity. Remove stale label or comment or this will be closed in 30 days.