[ 
https://issues.apache.org/jira/browse/SOLR-683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12621584#action_12621584
 ] 

Yonik Seeley commented on SOLR-683:
-----------------------------------

Here's the problem: deadlock is possible when the max number of concurrent HTTP 
requests is less than the number of possible HTTP requests (from both top-level 
clients, and by other shards).

Consider the simplest case of two shards, each with just a single thread 
dedicated to handling incoming HTTP requests.  A top-level request comes into 
each shard, and each shard queries the other.  The second request to each shard 
blocks because the first thread has not yet completed.  Deadlock.

> Distributed Search / Shards Deadlock
> ------------------------------------
>
>                 Key: SOLR-683
>                 URL: https://issues.apache.org/jira/browse/SOLR-683
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 1.3
>         Environment: Linux
> jre1.6.0_05
> 8GB RAM
> 2 x 2 core AMD 2.4 Ghz
> 2 x 140GB disk
>            Reporter: Cameron
>            Assignee: Yonik Seeley
>             Fix For: 1.3
>
>         Attachments: locked.log
>
>
> Per this discussion:
> http://www.nabble.com/Distributed-Search-Strategy---Shards-td18882112.html
> Solr seems to lock up when running distributed search on three servers, with 
> all three using shards of each other.  Thread dump attached.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to