lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-6002) Fix a couple of ugly issues around SolrIndexWriter close and rollback as well as how SolrIndexWriter manages it's ref counted directory instance.
Date Wed, 23 Apr 2014 01:03:16 GMT

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

Mark Miller commented on SOLR-6002:
-----------------------------------

bq. Why is the CLOSE_LOCK static though?

Whoops - just fell in line with the final statics around it I guess - no need for a global
lock though.

> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message