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

Bela Ban (JIRA) jira-events at lists.jboss.org
Tue Nov 27 03:53:18 EST 2007


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


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