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

Michael McCandless commented on LUCENE-9164:
--------------------------------------------

Hmm, if the caller closes IW while other threads are doing "interesting" things 
(refresh, rollback, merging, or hitting tragic events while doing these 
things), it is IW's job to synchronize internally to ensure those other threads 
do not hit/see ACE, and it sounds like the bug is that IW is failing such 
safeguards?

> 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: 1h
>  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: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to