[jboss-jira] [JBoss JIRA] Commented: (JGRP-637) Reincarnation reloaded: prevent port number reuse through persistence
Bela Ban (JIRA)
jira-events at lists.jboss.org
Tue Nov 27 11:06:46 EST 2007
[ http://jira.jboss.com/jira/browse/JGRP-637?page=comments#action_12389367 ]
Bela Ban commented on JGRP-637:
-------------------------------
Done on CVS head, documentation is at http://wiki.jboss.org/wiki/Wiki.jsp?page=HandleJoinProblem.
Will need to back-port to the 2.6 branch
> 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.7, 2.6.1
>
>
> 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