You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mark Miller (JIRA)" <ji...@apache.org> on 2018/04/24 21:08:00 UTC

[jira] [Created] (SOLR-12268) Opening a new NRT Searcher can take a while and block calls to /admin/cores.

Mark Miller created SOLR-12268:
----------------------------------

             Summary: Opening a new NRT Searcher can take a while and block calls to /admin/cores.
                 Key: SOLR-12268
                 URL: https://issues.apache.org/jira/browse/SOLR-12268
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Mark Miller


When we open a new reader from a writer, we get an IndexWriter lock and may call applyAllDeletesAndUpdates. That call can take a while holding the lock. Meanwhile calls coming to /admin/cores get isCurrent for the reader, which checks if the IndexWriter is closed, which requires the IndexWriter lock. These leads to /admin/cores calls taking as long as applyAllDeletesAndUpdates.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org