[jboss-jira] [JBoss JIRA] Resolved: (JGRP-637) Reincarnation reloaded: prevent port number reuse through persistence

Bela Ban (JIRA) jira-events at lists.jboss.org
Wed Nov 28 05:43:46 EST 2007


     [ http://jira.jboss.com/jira/browse/JGRP-637?page=all ]

Bela Ban resolved JGRP-637.
---------------------------

    Resolution: Done

fixed in CVS head and the 2.6 branch (2.6.1)

> Reincarnation reloaded: prevent port number reuse through persistence
> ---------------------------------------------------------------------
>
>                 Key: JGRP-637
>                 URL: http://jira.jboss.com/jira/browse/JGRP-637
>             Project: JGroups
>          Issue Type: Feature Request
>            Reporter: Bela Ban
>         Assigned To: Bela Ban
>             Fix For: 2.6.1, 2.7
>
>
> If bind_port (UDP) or start_port (TCP) is used, restarted members might reuse the same port, therefore one could run into reincarnation issues.
> Solution: if enabled, we maintain a file in the temp dir (shared by all instances on the same host), into which we write ports chosen. When a new socket is created, we read the file, weed out expired ports and pick the next port. Then we write that back to the file and close the file again.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list