geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jens Deppe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-1243) Geode should support specifying port zero as wild card for all ServerSockets
Date Tue, 24 May 2016 22:37:13 GMT

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

Jens Deppe commented on GEODE-1243:
-----------------------------------

Regarding docs, BruceS had the following comment as part of the review:
{quote}
I think you need to document this for users so that no-one comes across it and, for whatever
reason, uses it in a non-test environment.  Just include in the documentation that it can't
be used with auto-reconnect.  The locator may reconnect but it will have a different port.
{quote}

The purpose of this bit of functionality is to ease writing tests. It is not intended to be
used under 'normal' conditions.

> Geode should support specifying port zero as wild card for all ServerSockets
> ----------------------------------------------------------------------------
>
>                 Key: GEODE-1243
>                 URL: https://issues.apache.org/jira/browse/GEODE-1243
>             Project: Geode
>          Issue Type: Improvement
>          Components: docs, general
>            Reporter: Kirk Lund
>            Assignee: Kirk Lund
>
> Completing this is necessary for fixing Flaky tests that are caused by use of random
ports which results in BindException. Sometimes the BindException occurs in a background thread
or in JVM being forked.
> Adding support for Locator port of zero, requires changes to InternalLocator TcpServer.
I'm going to commit two comments in these classes that specifies where the change is needed.



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

Mime
View raw message