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

RouterStub: ignore SUSPECT message from GossipRouter if used in TCPGOSSIP

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.8.1, 2.9
    • 2.8
    • None

      When a RouterStub is used in TCPGOSSIP (as opposed to TUNNEL), then the GossipRouter might send unsolicited SUSPECT messages. However, the RouterStub doesn't handle them, as it doesn't have a receiver thread. So when it sends a GET-MEMBERS, and then tries to read the response from the input stream, it might encounter a SUSPECT message first. However, since it doesn't know how to interpret SUSPECT (it tries reading a response), it fails.

      SOLUTION: check the input stream before sending a GET-MEMBERS request: if not empty, skip all input available

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

              Created:
              Updated:
              Resolved: