[
https://issues.apache.org/jira/browse/SOLR-6002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13977635#comment-13977635
]
Gregory Chanan commented on SOLR-6002:
--------------------------------------
1) I don't understand the need for the CLOSE_LOCK, can you explain?
2) In DirectUpdateHandler2 why the change from writer.shutdown() to
writer.close()? All the other changes go in the other direction, e.g. close ->
shutdown.
> Fix a couple of ugly issues around SolrIndexWriter close and rollback as well
> as how SolrIndexWriter manages it's ref counted directory instance.
> -------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: SOLR-6002
> URL: https://issues.apache.org/jira/browse/SOLR-6002
> Project: Solr
> Issue Type: Bug
> Reporter: Mark Miller
> Assignee: Mark Miller
> Priority: Critical
> Fix For: 4.9, 5.0
>
> Attachments: SOLR-6002.patch, SOLR-6002.patch, SOLR-6002.patch
>
>
> We tried jumping all kinds of hoops (unsuccessfully anyway) to *really*
> *really* close an IndexWriter in the past, but Lucene wouldn't let you. Now
> that is fixed in Lucene and we should update our close/rollback code.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]