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

ASF subversion and git services commented on SOLR-6874:
-------------------------------------------------------

Commit 1649665 from [~thelabdude] in branch 'dev/branches/branch_5x'
[ https://svn.apache.org/r1649665 ]

SOLR-6874: There is a race around SocketProxy binding to it's port the way we 
setup JettySolrRunner and SocketProxy.

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to