You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Yonik Seeley (JIRA)" <ji...@apache.org> on 2015/10/24 22:25:27 UTC

[jira] [Updated] (SOLR-6406) ConcurrentUpdateSolrServer hang in blockUntilFinished.

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

Yonik Seeley updated SOLR-6406:
-------------------------------
    Attachment: SOLR-6406.patch

OK, how about this patch?

It's probably hard to read as an actual patch file, so basically what I did was:
- pull out the "while (!queue.isEmpty())" loop into sendUpdateStream() method.
- added a for(;;) loop around the call to sendUpdateStream() and the associated error handling.
- stayed in the outer loop if we're the last runner and something else was added to the queue.
- removed runnerLock and the code to resubmit ourselves to the executor.

This shouldn't change any behavior except for the hypothetical buggy behavior, but it's completely untested at this point.

> ConcurrentUpdateSolrServer hang in blockUntilFinished.
> ------------------------------------------------------
>
>                 Key: SOLR-6406
>                 URL: https://issues.apache.org/jira/browse/SOLR-6406
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Mark Miller
>             Fix For: 5.0, Trunk
>
>         Attachments: CPU Sampling.png, SOLR-6406.patch
>
>
> Not sure what is causing this, but SOLR-6136 may have taken us a step back here. I see this problem occasionally pop up in ChaosMonkeyNothingIsSafeTest now - test fails because of a thread leak, thread leak is due to a ConcurrentUpdateSolrServer hang in blockUntilFinished. Only started popping up recently.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org