[
https://issues.apache.org/jira/browse/SOLR-9867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15997544#comment-15997544
]
Mikhail Khludnev commented on SOLR-9867:
----------------------------------------
the same is
[here|https://builds.apache.org/job/Lucene-Solr-Tests-6.x/862/consoleFull]
posttool throw xmls to nowhere in 2 ms, and .. nothing.
{code}
[junit4] 2> 2054068 INFO (qtp132288369-20302) [ x:techproducts]
o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/cores
params={name=techproducts&action=CREATE&instanceDir=techproducts&wt=json}
status=0 QTime=454
[junit4] 1> SimplePostTool version 5.0.0
[junit4] 1> Posting files to [base] url
http://localhost:43383/solr/techproducts/update using content-type
application/xml...
[junit4] 1> POSTing file money.xml to [base]
....
[junit4] 1> POSTing file ipod_other.xml to [base]
[junit4] 1> 14 files indexed.
[junit4] 1> COMMITting Solr index changes to
http://localhost:43383/solr/techproducts/update...
[junit4] 1> Time spent: 0:00:00.002
[junit4] 2> 2054075 INFO (qtp132288369-20305) [ x:techproducts]
o.a.s.c.S.Request [techproducts] webapp=/solr path=/select
params={q=*:*&wt=javabin&version=2} hits=0 status=0 QTime=0
[junit4] 2> 2054075 WARN
(TEST-TestSolrCLIRunExample.testTechproductsExample-seed#[51307655FACE2661]) [
] o.a.s.u.TestSolrCLIRunExample Going to wait for 1 second before re-trying
query for techproduct example docs ...
[junit4] 2> 2055078 INFO (qtp132288369-20305) [ x:techproducts]
o.a.s.c.S.Request [techproducts] webapp=/solr path=/select
params={q=*:*&wt=javabin&version=2} hits=0 status=0 QTime=1
[junit4] 2> 2055079 INFO
(TEST-TestSolrCLIRunExample.testTechproductsExample-seed#[51307655FACE2661]) [
] o.a.s.SolrTestCaseJ4 ###Ending testTechproductsExample
{code}
Is it super asynchronous?
> The Solr examples can not always be started after being stopped due to race
> with loading core.
> ----------------------------------------------------------------------------------------------
>
> 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
> Assignee: Mikhail Khludnev
> Priority: Critical
> Fix For: 6.6, master (7.0)
>
> Attachments: 6x failure 0 docs.txt, Lucene-Solr-master-MacOSX #3986
> Console [Jenkins].htm, SDF init and doFilter in parallel.png,
> SOLR-9867-createCoreContainer-fix.patch, SOLR-9867-ignore-whitespace.patch,
> SOLR-9867.patch, SOLR-9867.patch, SOLR-9867.patch, SOLR-9867.patch,
> SOLR-9867.patch, SOLR-9867.patch, SOLR-9867.patch, SOLR-9867-test.patch,
> stdout_90
>
>
> 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 (again, it already exists) 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.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]