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

TCP: handle concurrent connections more gracefully

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 3.3
    • None
    • None

      When A connects to B and B connects to A concurrently, and no existing connections are present, then one member (with the higher address) will prevail, and the other one will close its connection and drop the message.

      This is not usually an issue, as higher-up layers will retransmit the message, thus re-establishing the connection.
      However, if we have a protocol based on negative acks, such as UNICAST2, the retransmission might take a while if that message was the last one.

      SOLUTION:
      The end that closes the connection should simply resend the message once, thus re-creating the connection.

        1. cft.log.gz
          40 kB
          Dan Berindei

            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: