You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mike Drob (JIRA)" <ji...@apache.org> on 2016/12/20 15:52:58 UTC

[jira] [Commented] (SOLR-9869) MiniSolrCloudCluster does not always remove jettys from running list after stopping them

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

Mike Drob commented on SOLR-9869:
---------------------------------

[~romseygeek] - it looks like you were the one to add this flavor of stop method in SOLR-7180. Do you have any thoughts on the patch?

> MiniSolrCloudCluster does not always remove jettys from running list after stopping them
> ----------------------------------------------------------------------------------------
>
>                 Key: SOLR-9869
>                 URL: https://issues.apache.org/jira/browse/SOLR-9869
>             Project: Solr
>          Issue Type: Test
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Tests
>            Reporter: Mike Drob
>         Attachments: SOLR-9869.patch
>
>
> MiniSolrCloudCluster has two {{stopJettySolrRunner}} methods that behave differently.
> The {{int}} version calls {{jettys.remove(index);}} to remove the now stopped jetty from the list of running jettys.
> The version that takes a {{JettySolrRunner}}, however, does not modify the running list.
> This can cause calls to {{getReplicaJetty}} to fail after a call to {{stop}} because we will try to get the base url of a stopped jetty.



--
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