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/27 17:02:00 UTC

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

     [ https://issues.apache.org/jira/browse/SOLR-12268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Miller reassigned SOLR-12268:
----------------------------------

    Assignee: Mark Miller

> 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
>            Assignee: Mark Miller
>            Priority: Major
>
> 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