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

Mikhail Khludnev commented on SOLR-9428:
----------------------------------------

bq. We can add similar retry logic to ZkStateReader#readConfigName 
Yes, please. Unrelated tests fail from time to time with the same reason: 
{{Session expired}} under {{ZkStateReader.readConfigName}}
{code}
  [beaster]   2> 78020 ERROR (qtp1143534288-61) [n:127.0.0.1:52648_solr 
c:collection1 s:shard1 r:core_node2 x:collection1_shard1_replica_n2] 
o.a.s.r.ManagedResourceStorage Failed to get config name due to
  [beaster]   2> org.apache.solr.common.SolrException: Error loading config 
name for collection collection1
  [beaster]   2>        at 
org.apache.solr.common.cloud.ZkStateReader.readConfigName(ZkStateReader.java:206)
  [beaster]   2>        at 
org.apache.solr.rest.ManagedResourceStorage.newStorageIO(ManagedResourceStorage.java:95)
  [beaster]   2>        at 
org.apache.solr.core.SolrCore.initRestManager(SolrCore.java:2768)
  [beaster]   2>        at 
org.apache.solr.core.SolrCore.<init>(SolrCore.java:963)
  [beaster]   2>        at 
org.apache.solr.core.SolrCore.<init>(SolrCore.java:843)
  [beaster]   2>        at 
org.apache.solr.core.CoreContainer.create(CoreContainer.java:969)
...
  [beaster]   2> Caused by: 
org.apache.zookeeper.KeeperException$SessionExpiredException: KeeperErrorCode = 
Session expired for /collections/collection1
  [beaster]   2>        at 
org.apache.zookeeper.KeeperException.create(KeeperException.java:127)
  [beaster]   2>        at 
org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
  [beaster]   2>        at 
org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1212)
  [beaster]   2>        at 
org.apache.solr.common.cloud.SolrZkClient$7.execute(SolrZkClient.java:357)
  [beaster]   2>        at 
org.apache.solr.common.cloud.SolrZkClient$7.execute(SolrZkClient.java:354)
  [beaster]   2>        at 
org.apache.solr.common.cloud.ZkCmdExecutor.retryOperation(ZkCmdExecutor.java:60)
  [beaster]   2>        at 
org.apache.solr.common.cloud.SolrZkClient.getData(SolrZkClient.java:354)
  [beaster]   2>        at 
org.apache.solr.common.cloud.ZkStateReader.readConfigName(ZkStateReader.java:186)
  [beaster]   2>        ... 40 more
{code}

> TestManagedSchemaAPI Objects not released test failures
> -------------------------------------------------------
>
>                 Key: SOLR-9428
>                 URL: https://issues.apache.org/jira/browse/SOLR-9428
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Varun Thacker
>            Assignee: Varun Thacker
>         Attachments: build401.log.zip, build6069.log.zip, SOLR-9428.patch
>
>
> I've seen quite a few jenkins failures of this nature : {{ObjectTracker found 
> 1 object(s) that were not released!!! \[MockDirectoryWrapper\]}}
> Here are the symptoms - 
> {code}
> [junit4]   2> 3000951 ERROR (Thread-4650) [n:127.0.0.1:49362_solr 
> c:testschemaapi s:shard1 r:core_node1 x:testschemaapi_shard1_replica2] 
> o.a.s.r.ManagedResourceStorage Failed to get config name for collection 
> testschemaapi due to: org.apache.solr.common.SolrException: Error loading 
> config name for collection testschemaapi
> {code} - We don't know the root cause
> To start with I am going to put up a patch to display the root cause. We can 
> then figure out whats going wrong



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to