[
https://issues.apache.org/jira/browse/SOLR-12268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16454860#comment-16454860
]
Mark Miller commented on SOLR-12268:
------------------------------------
The problem being, an external tool may be polling /admin/cores and you may be
opening new searchers a lot with NRT, and applyAllDeletesAndUpdates may take
non trivial time and so each call will be much longer than a request like this
should and they can start stacking up ...
> 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
> 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: [email protected]
For additional commands, e-mail: [email protected]