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

Christine Poerschke commented on SOLR-15695:
--------------------------------------------

We now and again see this exception and I can (sort of) reproduce it in a test 
via injection of some sleep in the {{DirectUpdateHandler2.commit}} method: 
https://github.com/apache/solr/pull/347

{code}
  2> 76222 ERROR (commitScheduler-182-thread-1) [n:127.0.0.1:59524_solr 
c:collection42 s:shard1 r:core_node7 x:collection42_shard1_replica_n3] 
o.a.s.u.CommitTracker Soft auto commit error...
  2>           => org.apache.solr.common.SolrException: Error opening new 
searcher
  2>    at org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:2220)
  2> org.apache.solr.common.SolrException: Error opening new searcher
  2>    at org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:2220) 
~[main/:?]
  2>    at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:2345) 
~[main/:?]
  2>    at 
org.apache.solr.update.DirectUpdateHandler2.commit(DirectUpdateHandler2.java:696)
 ~[main/:?]
  2>    at org.apache.solr.update.CommitTracker.run(CommitTracker.java:272) 
[main/:?]
  2>    at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
  2>    at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
  2>    at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
 [?:?]
  2>    at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) 
[?:?]
  2>    at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) 
[?:?]
  2>    at java.lang.Thread.run(Thread.java:834) [?:?]
  2> Caused by: org.apache.solr.common.SolrException: openNewSearcher called on 
closed core
  2>    at org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:2207) 
~[main/:?]
  2>    ... 9 more
{code}

> "openNewSearcher called on closed core" SolrException on shutdown
> -----------------------------------------------------------------
>
>                 Key: SOLR-15695
>                 URL: https://issues.apache.org/jira/browse/SOLR-15695
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Christine Poerschke
>            Priority: Minor
>
> please see comments for details



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to