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

Atri Sharma commented on LUCENE-9164:
-------------------------------------

I am in dual minds on this -- isnt trying to close an already closed 
IndexWriter a sign of a potentially fatal bug in the user code? This changes 
user facing behaviour (unless I am reading the patch wrong) so would want to 
understand the reasoning for this change.

> 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
>
>
> 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