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

Add heartbeating to TUNNEL / GossipRouter

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 5.2.6
    • None
    • None
    • False
    • None
    • False

      When a GossipRouter is blocked and doesn't close its connection,e.g. on a firewall rule or CTRL-Z), then it won't get excluded from the healthy set by RouterStubManager.
      Solution: add heartbeating between RouterStub/Manager and GossipRouter:

      In RouterStub, we add 2 attributes (in TUNNEL):

      heartbeat_interval
      timeout

      So the clients send heartbeat messages to the GossipRouters they're connected to (excluding ones in the reconnect stage). After not having received a heartbeat (or regular message) for at least timeout ms, the connection to the GR is closed and it is added to the reconnect list. This means that, after this time, the traffic would be routed through the healthy GRs only.

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

                Created:
                Updated:
                Resolved: