lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erick Erickson (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-4013) Creating a core should prevent more than one thread from creating a core of the same name at once.
Date Tue, 30 Oct 2012 00:28:11 GMT
Erick Erickson created SOLR-4013:
------------------------------------

             Summary: Creating a core should prevent more than one thread from creating a
core of the same name at once.
                 Key: SOLR-4013
                 URL: https://issues.apache.org/jira/browse/SOLR-4013
             Project: Solr
          Issue Type: Improvement
    Affects Versions: 4.1, 5.0
            Reporter: Erick Erickson
            Assignee: Erick Erickson
            Priority: Minor
             Fix For: 4.1, 5.0


This hasn't been an issue so far since cores are created at startup. But in the lots of cores
case (see SOLR-1293) the probability that more than one thread will attempt to create a core
of the same name is vastly greater. We need to block other threads from creating a core if
the core is already being created in a different thread.

Once the core is created, the blocked thread should pick up the newly-created core rather
than create it again.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message