GitHub user nabarunnag opened a pull request:
https://github.com/apache/incubator-geode/pull/202
GEODE-1600: startLocatorAndDS takes 0 as port number parameter
* Use of getAvailableTCP port led to race conditions which led to
locators being assigned ports in use.
* Use of 0 now assignes a port number to the locator after the
server is started.
* Code modification to accept 0 as a valid port number until a real
port number is assigned after the server is started.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/nabarunnag/incubator-geode feature/GEODE-1600
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-geode/pull/202.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #202
----
commit e5a6ba12cf63657fd3d952ad6a92b3d0d80703fd
Author: nabarun <[email protected]>
Date: 2016-07-11T21:11:38Z
GEODE-1600: startLocatorAndDS takes 0 as port number parameter
* Use of getAvailableTCP port led to race conditions which led to
locators being assigned ports in use.
* Use of 0 now assignes a port number to the locator after the
server is started.
* Code modification to accept 0 as a valid port number until a real
port number is assigned after the server is started.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---