[
https://issues.apache.org/jira/browse/SOLR-13880?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17719041#comment-17719041
]
Tomas Eduardo Fernandez Lobbe commented on SOLR-13880:
------------------------------------------------------
An interesting thing is that the reason I didn't merge these tests back when I
submitted the first PR was that they were always succeeding. Wondering if
something broke in Solr since then, or if they were going to fail in Jenkins
anyways. If people is able to reproduce locally then that makes me believe it's
the first thing.
> Collection creation fails with coreNodeName core_nodeX does not exist in shard
> ------------------------------------------------------------------------------
>
> Key: SOLR-13880
> URL: https://issues.apache.org/jira/browse/SOLR-13880
> Project: Solr
> Issue Type: Bug
> Components: Tests
> Affects Versions: 9.0
> Reporter: Tomas Eduardo Fernandez Lobbe
> Assignee: Eric Pugh
> Priority: Minor
> Fix For: main (10.0), 9.3
>
> Attachments: TestPullReplica-45-2.log
>
> Time Spent: 2h 10m
> Remaining Estimate: 0h
>
> I've seen this when running tests locally. When issuing a collection
> creation, the call fails with:
> {noformat}
> [junit4] 2> 94288 ERROR (qtp1499898888-237) [n:127.0.0.1:63117_solr
> c:pull_replica_test_create_delete s:shard1 r:core_node9
> x:pull_replica_test_create_delete_shard1_replica_p6 ]
> o.a.s.h.RequestHandlerBase org.apache.solr.common.SolrException: Error
> CREATEing SolrCore 'pull_replica_test_create_delete_shard1_replica_p6':
> Unable to create core [pull_replica_test_create_delete_shard1_replica_p6]
> Caused by: coreNodeName core_node9 does not exist in shard shard1, ignore the
> exception if the replica was deleted
> [junit4] 2> at
> org.apache.solr.core.CoreContainer.create(CoreContainer.java:1209)
> [junit4] 2> at
> org.apache.solr.handler.admin.CoreAdminOperation.lambda$static$0(CoreAdminOperation.java:93)
> [junit4] 2> at
> org.apache.solr.handler.admin.CoreAdminOperation.execute(CoreAdminOperation.java:362)
> [junit4] 2> at
> org.apache.solr.handler.admin.CoreAdminHandler$CallInfo.call(CoreAdminHandler.java:397)
> [junit4] 2> at
> org.apache.solr.handler.admin.CoreAdminHandler.handleRequestBody(CoreAdminHandler.java:181)
> [junit4] 2> at
> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:198)
> [junit4] 2> at
> org.apache.solr.servlet.HttpSolrCall.handleAdmin(HttpSolrCall.java:843)
> [junit4] 2> at
> org.apache.solr.servlet.HttpSolrCall.handleAdminRequest(HttpSolrCall.java:809)
> [junit4] 2> at
> org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:562)
> [junit4] 2> at
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:424)
> [junit4] 2> at
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:351)
> [junit4] 2> at
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
> [junit4] 2> at
> org.apache.solr.client.solrj.embedded.JettySolrRunner$DebugFilter.doFilter(JettySolrRunner.java:167)
> [junit4] 2> at
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
> [junit4] 2> at
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540)
> [junit4] 2> at
> org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)
> [junit4] 2> at
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1711)
> [junit4] 2> at
> org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)
> [junit4] 2> at
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1347)
> [junit4] 2> at
> org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)
> [junit4] 2> at
> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480)
> [junit4] 2> at
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1678)
> [junit4] 2> at
> org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)
> [junit4] 2> at
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1249)
> [junit4] 2> at
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)
> [junit4] 2> at
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
> [junit4] 2> at
> org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:335)
> [junit4] 2> at
> org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:703)
> [junit4] 2> at
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
> [junit4] 2> at
> org.eclipse.jetty.server.Server.handle(Server.java:505)
> [junit4] 2> at
> org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:370)
> [junit4] 2> at
> org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:267)
> [junit4] 2> at
> org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305)
> [junit4] 2> at
> org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
> [junit4] 2> at
> org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117)
> [junit4] 2> at
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:781)
> [junit4] 2> at
> org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:917)
> [junit4] 2> at java.base/java.lang.Thread.run(Thread.java:835)
> [junit4] 2> Caused by: org.apache.solr.common.SolrException: Unable to
> create core [pull_replica_test_create_delete_shard1_replica_p6]
> [junit4] 2> at
> org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:1280)
> [junit4] 2> at
> org.apache.solr.core.CoreContainer.create(CoreContainer.java:1170)
> [junit4] 2> ... 37 more
> [junit4] 2> Caused by:
> org.apache.solr.cloud.ZkController$NotInClusterStateException: coreNodeName
> core_node9 does not exist in shard shard1, ignore the exception if the
> replica was deleted
> [junit4] 2> at
> org.apache.solr.cloud.ZkController.checkStateInZk(ZkController.java:1870)
> [junit4] 2> at
> org.apache.solr.cloud.ZkController.preRegister(ZkController.java:1769)
> [junit4] 2> at
> org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:1252)
> [junit4] 2> ... 38 more
> [junit4] 2>
> [junit4] 2> 94288 INFO (qtp1499898888-237) [n:127.0.0.1:63117_solr
> c:pull_replica_test_create_delete s:shard1 r:core_node9
> x:pull_replica_test_create_delete_shard1_replica_p6 ] o.a.s.s.HttpSolrCall
> [admin] webapp=null path=/admin/cores
> params={qt=/admin/cores&coreNodeName=core_node9&collection.configName=conf&newCollection=true&name=pull_replica_test_create_delete_shard1_replica_p6&action=CREATE&numShards=2&collection=pull_replica_test_create_delete&shard=shard1&wt=javabin&version=2&replicaType=PULL}
> status=400 QTime=10025{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]