Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-637

Reincarnation reloaded: prevent port number reuse through persistence

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 2.6.1, 2.7
    • None
    • None
    • 0
    • 0% 0%

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-bban Bela Ban
              rhn-engineering-bban Bela Ban
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: