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

Discovery: send multiple discovery requests

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Done
    • None
    • 4.0.16
    • None

    Description

      Define a num_requests (default: 1) attribute (we used to have this!) that governs how many times a discovery is executed until the timeout is reached, or a coord is found.

      This may be useful when multiple members are started at the same time and/or the discovery does not return the correct members the first time around. Especially needed for DNS_PING.

      The number of requests should be spaced out evenly across a range [0 .. timeout-(timeout/num_requests)]

      Example: timeout=12000, num_requests=3;

      • Range: [0 .. 8000] (12-4)
      • First req sent at time 0
      • Second: time 4000
      • Third: 8000
        Interval: timeout - (timeout/num_reqs) / num_reqs-1

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: