Hello,
We experienced a problem when creating a core via a request on Solr 9.2.1. It
seems that the core creation for “blueprint_helios_comments“ just “hangs”.
Consequently, with subsequent external requests to create the same core (since
it does not seem to be there yet), Solr detects that the core creation is
already in progress and returns an error.
This is what Solr’s log tells me:
[ blueprint_helios_comments] o.a.s.s.HttpSolrCall [admin] webapp=null
path=/admin/cores
params={core=blueprint_helios_comments&action=STATUS&indexInfo=false&wt=javabin&version=2}
status=0 QTime=1
[ blueprint_helios_comments] o.a.s.h.a.CoreAdminOperation core create command
name=blueprint_helios_comments&action=CREATE&configSet=elastic&wt=javabin&version=2&dataDir=data
[ blueprint_helios_comments] o.a.s.c.SolrConfig Using Lucene MatchVersion:
9.4.0
[ blueprint_helios_comments] o.a.s.s.IndexSchema Schema name=elastic
[ blueprint_helios_comments] o.a.s.s.IndexSchema Loaded schema elastic/1.6
with uniqueid field id
[ blueprint_helios_comments] o.a.s.c.CoreContainer Creating SolrCore
'blueprint_helios_comments' using configuration from configset
/opt/solr-9.2.1/server/solr/configsets/elastic, trusted=true
[ blueprint_helios_comments] o.a.s.c.CachingDirectoryFactory solr.data.home =
/var/solr/data
[ blueprint_helios_comments] o.a.s.c.SolrCore Opening new SolrCore at
[/var/solr/data/blueprint_helios_comments],
dataDir=[/var/solr/data/blueprint_helios_comments/data/]
[ blueprint_helios_comments] o.a.s.j.SolrRequestAuthorizer Creating a new
SolrRequestAuthorizer
[ blueprint_helios_comments] o.a.s.u.UpdateHandler Using UpdateLog
implementation: org.apache.solr.update.UpdateLog
[ blueprint_helios_comments] o.a.s.u.UpdateLog Initializing UpdateLog:
dataDir= defaultSyncLevel=FLUSH numRecordsToKeep=100 maxNumLogsToKeep=10
numVersionBuckets=65536
[ blueprint_helios_comments] o.a.s.u.CommitTracker Hard AutoCommit: if
uncommitted for 15000ms;
[ blueprint_helios_comments] o.a.s.u.CommitTracker Soft AutoCommit: if
uncommitted for 3000ms;
The creation stops after “Soft AutoCommit”. During the same run of Solr and our
test suite, other cores are created successfully.
With the next run of the same software on empty directories and attempt to
create the core, everything succeeds:
[ blueprint_helios_comments] o.a.s.s.HttpSolrCall [admin] webapp=null
path=/admin/cores
params={core=blueprint_helios_comments&action=STATUS&indexInfo=false&wt=javabin&version=2}
status=0 QTime=1
[ blueprint_helios_comments] o.a.s.h.a.CoreAdminOperation core create command
name=blueprint_helios_comments&action=CREATE&configSet=elastic&wt=javabin&version=2&dataDir=data
[ blueprint_helios_comments] o.a.s.c.SolrConfig Using Lucene MatchVersion:
9.4.0
[ blueprint_helios_comments] o.a.s.s.IndexSchema Schema name=elastic
[ blueprint_helios_comments] o.a.s.s.IndexSchema Loaded schema elastic/1.6
with uniqueid field id
[ blueprint_helios_comments] o.a.s.c.CoreContainer Creating SolrCore
'blueprint_helios_comments' using configuration from configset
/opt/solr-9.2.1/server/solr/configsets/elastic, trusted=true
[ blueprint_helios_comments] o.a.s.c.CachingDirectoryFactory solr.data.home =
/var/solr/data
[ blueprint_helios_comments] o.a.s.c.SolrCore Opening new SolrCore at
[/var/solr/data/blueprint_helios_comments],
dataDir=[/var/solr/data/blueprint_helios_comments/data/]
[ blueprint_helios_comments] o.a.s.j.SolrRequestAuthorizer Creating a new
SolrRequestAuthorizer
[ blueprint_helios_comments] o.a.s.u.UpdateHandler Using UpdateLog
implementation: org.apache.solr.update.UpdateLog
[ blueprint_helios_comments] o.a.s.u.UpdateLog Initializing UpdateLog:
dataDir= defaultSyncLevel=FLUSH numRecordsToKeep=100 maxNumLogsToKeep=10
numVersionBuckets=65536
[ blueprint_helios_comments] o.a.s.u.CommitTracker Hard AutoCommit: if
uncommitted for 15000ms;
[ blueprint_helios_comments] o.a.s.u.CommitTracker Soft AutoCommit: if
uncommitted for 3000ms;
[ blueprint_helios_comments] o.a.s.r.ManagedResourceStorage Cannot write to
config directory /opt/solr-9.2.1/server/solr/configsets/elastic/conf ;
switching to use InMemory storage instead.
[ blueprint_helios_comments] o.a.s.s.s.Suggester init: {threshold=5.0E-4,
name=text, classname=org.apache.solr.spelling.suggest.Suggester,
lookupImpl=org.apache.solr.spelling.suggest.fst.WFSTLookupFactory, field=text}
[ blueprint_helios_comments] o.a.s.h.ReplicationHandler Commits will be
reserved for 10000 ms
[ blueprint_helios_comments] o.a.s.u.UpdateLog Could not find max version in
index or recent updates, using new clock 1779334761811017728
I can’t recall having seen this issue before nor can I reproduce it, but I’d
like to ask whether this behaviour is known (couldn’t find a Jira issue or mail
thread connected to this) or anybody has an idea what might be going wrong.
Thanks!
Stefan
--
Stefan Pieper
Senior Software Engineer
[A picture containing graphics, graphic design, font, logo Description
automatically generated]<https://www.coremedia.com/>
Elevate Experience. Drive Impact.
E-Mail: [email protected]<mailto:[email protected]>
www.coremedia.com<https://www.coremedia.com/>
[A pink and red letter on a black background Description automatically
generated with low
confidence]<https://www.linkedin.com/company/coremedia-corp/>[A logo of a
camera Description automatically generated with low
confidence]<https://www.instagram.com/coremediacc/>[A picture containing
colorfulness, screenshot, graphics, red Description automatically
generated]<https://www.youtube.com/channel/UC3u29ExYv1263SfUBWnsgdQ>[A pink
bird with wings Description automatically generated with low
confidence]<https://twitter.com/coremedia?lang=en>
[signature_667434842]<https://resources.ecovadis.com/library/ecovadis-medals-recognizing-our-customers-achievements>
--------------------------------------------------------------------------------
CoreMedia GmbH
Rödingsmarkt 9, 20459 Hamburg, Germany
Managing Director: Sören Stamer
Commercial Register: Amtsgericht Hamburg, HRB 162480
--------------------------------------------------------------------------------