lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SOLR-6874) There is a race around SocketProxy binding to it's port the way we setup JettySolrRunner and SocketProxy.
Date Tue, 06 Jan 2015 20:39:34 GMT

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

Mark Miller resolved SOLR-6874.
-------------------------------
    Resolution: Fixed

> There is a race around SocketProxy binding to it's port the way we setup JettySolrRunner
and SocketProxy.
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-6874
>                 URL: https://issues.apache.org/jira/browse/SOLR-6874
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Mark Miller
>            Assignee: Timothy Potter
>             Fix For: 5.0, Trunk
>
>         Attachments: SOLR-6874.patch
>
>
> I ran into this while working on SOLR-4509 and have a fix there in my latest patch. Because
we get an available port by opening and closing a scocket on port 0 and then try to use it
again with the SocketProxy, sometimes it fails to bind and the test can fail. We can change
the code a bit so that the SocketProxy itself can start on port 0 rather than this two step
fragile process.



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


Mime
View raw message