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

Erick Erickson commented on SOLR-10534:
---------------------------------------

Possibly related to SOLR-10021? Can you reproduce this with that patch applied 
(patch on 6.5)....

> Core state doesn't get cleaned up if core initialization fails
> --------------------------------------------------------------
>
>                 Key: SOLR-10534
>                 URL: https://issues.apache.org/jira/browse/SOLR-10534
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Varun Thacker
>
> Steps to reproduce:
> Add this to the "add-unknown-fields-to-the-schema" in the data_driven config 
> set
> {code}
> <processor class="solr.DocBasedVersionConstraintsProcessorFactory">
>     <str name="versionField">_version_</str>
> </processor>
> {code}
> ./bin/solr start
> ./bin/solr create -c test
> This doesn't work currently because of SOLR-10533 so it throws an error when 
> creating a core.
> At this point I have no local core created for 'test' but the UI displays  
> 'SolrCore initalization failures'
> Now let's fix the schema and remove the update processor
> Running the create command again throws this error but I don't have this core.
> {code
> ~/solr-6.5.0$ ./bin/solr create -c test
> ERROR: 
> Core 'test' already exists!
> Checked core existence using Core API command:
> http://localhost:8983/solr/admin/cores?action=STATUS&core=test
> {code}
> When I restart and then try again it work correctly.
> The same happens in SolrCloud as well but the experience is even worse. 
> Since no collection was never created but a local core exists the create 
> command blocks and then after a while returns with an error. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to