[ https://issues.apache.org/jira/browse/SOLR-12268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16454848#comment-16454848 ]
Mark Miller commented on SOLR-12268: ------------------------------------ It seems to me we have to consider not adding anything that would get an indexwriter lock in the default output. Any opinions here? > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org