[ 
https://issues.apache.org/jira/browse/LUCENE-9164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17024511#comment-17024511
 ] 

Nhat Nguyen commented on LUCENE-9164:
-------------------------------------

[~atris] Thanks for looking. This is not about double closing. An outstanding 
refresh (i.e., IndexWriter#getReader) considers ACE a tragedy if IndexWriter is 
closed midway. This behavior is bogus and requires another layer of locking.

> Should not consider ACE a tragedy if IW is closed
> -------------------------------------------------
>
>                 Key: LUCENE-9164
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9164
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: core/index
>    Affects Versions: master (9.0), 8.5, 8.4.2
>            Reporter: Nhat Nguyen
>            Assignee: Nhat Nguyen
>            Priority: Major
>         Attachments: LUCENE-9164.patch, LUCENE-9164.patch
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> If IndexWriter is closed or being closed, AlreadyClosedException is expected. 
> We should not consider it a tragic event in this case.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to