[ https://issues.apache.org/jira/browse/SOLR-5386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17943341#comment-17943341 ]
ASF subversion and git services commented on SOLR-5386: ------------------------------------------------------- Commit 17510244b214036ad9365019c5053c1711140da8 in solr's branch refs/heads/main from Chris M. Hostetter [ https://gitbox.apache.org/repos/asf?p=solr.git;h=17510244b21 ] SOLR-5386: Fix various methods of invoking "local" solr requests to re-use the same searcher as the original request. This notably fixes the use of spellcheck.maxCollationTries in firstSearcher warming queries to prevent deadlock > firstSearcher warming can deadlock on queries that use LocalSolrQueryRequest > internally -- notably spellcheck.maxCollationTries > ------------------------------------------------------------------------------------------------------------------------------- > > Key: SOLR-5386 > URL: https://issues.apache.org/jira/browse/SOLR-5386 > Project: Solr > Issue Type: Bug > Components: spellchecker > Affects Versions: 4.4, 4.5 > Reporter: Jeroen Steggink > Assignee: Chris M. Hostetter > Priority: Major > Labels: collate, maxCollationTries, spellcheck > Attachments: SOLR-5386-1.patch, SOLR-5386.patch, > Solr5386SpellCheckerHangThreadDump.txt, threaddump.log > > > > Any Solr search related code that uses {{LocalSolrQueryRequest}} to create a > "sub request" (notably spellcheck with {{maxCollationTries}}) can cause > deadlock on core load if it is used in a {{firstSearcher}} warming query, > because {{LocalSolrQueryRequest}} (via inheritance from > {{SolrQueryRequestBase}} ) attempts to get the latest registered searcher > from the {{SolrCore}} -- but this will block until the {{firstSearcher}} is > registered, creating a deadlock loop. > {panel:title=Original Bug Report} > When spellcheck.maxCollationTries is set (>0) Solr hangs in combination with > that requestHandler set to default="true". > When I make another requestHandler default, one without the > maxCollationTries, all requestHandlers work just fine. > {panel} > -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org