You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Nitin (JIRA)" <ji...@apache.org> on 2014/03/08 03:05:44 UTC

[jira] [Commented] (SOLR-4960) race condition in CoreContainer.shutdown leads to double closes on cores

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

Nitin commented on SOLR-4960:
-----------------------------

Hi there 

 I am running 4.3.1 solrcloud and seeing a few of my cores dying with this exception (during reads, writes, recovery etc)

 org.apache.solr.common.SolrException; org.apache.solr.common.SolrException: SolrCoreState already closed
solr.log.117-3616225-	at org.apache.solr.update.DefaultSolrCoreState.getIndexWriter(DefaultSolrCoreState.java:84)
solr.log.117-3616318-	at org.apache.solr.update.DirectUpdateHandler2.commit(DirectUpdateHandler2.java:524)

Could this bug be the root cause of this issue? 

> race condition in CoreContainer.shutdown leads to double closes on cores
> ------------------------------------------------------------------------
>
>                 Key: SOLR-4960
>                 URL: https://issues.apache.org/jira/browse/SOLR-4960
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.3
>            Reporter: Yonik Seeley
>            Assignee: Yonik Seeley
>             Fix For: 4.4, 5.0
>
>         Attachments: SOLR-4960.patch, SOLR-4960_getCore.patch
>
>
> CoreContainer.shutdown has a race condition that can lead to a closed (or closing) core being handed out to an incoming request.  This can further lead to SolrCore.close() logic being executed again when the request is finished.
> This bug was introduced in SOLR-4196 r1451797



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