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] [Created] (SOLR-9867) The schemaless example can not be started after being stopped.
Date Thu, 15 Dec 2016 04:28:58 GMT
Mark Miller created SOLR-9867:
---------------------------------

             Summary: The schemaless example can not be started after being stopped.
                 Key: SOLR-9867
                 URL: https://issues.apache.org/jira/browse/SOLR-9867
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Mark Miller


I'm having trouble when I start up the schemaless example after shutting down.

I first tracked this down to the fact that the run example tool is getting an error when it
tries to create the SolrCore and so it deletes the cores instance dir which leads to tlog
and index lock errors in Solr.

The reason it seems to be trying to create the core when it already exists is that the run
example tool uses a core status call to check existence and because the core is loading, we
don't consider it as existing. I added a check to look for core.properties.

That seemed to let me start up, but my first requests failed because the core was still loading.
It appears CoreContainer#getCore  is supposed to be blocking so you don't have this problem,
but there must be an issue, because it is not blocking.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message