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

Messages about dropped queued message when using IpAddressUUID

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • 4.2.5
    • 4.2.3
    • None

      We upgraded from 4.0.14 to 4.1.8 and ever since then, we had some messages like

      Apr 27, 2020 10:30:54 AM org.jgroups.protocols.UNICAST3 addQueuedMessages
      WARNING: i2:1709: dropped queued message i1:1609#2 as its conn_id (0) did not match (entry.conn_id=1)
      

      when ever an application is restarted. Our setup is as follows (most due to network restrictions):

      • Fixed port numbers
      • JDBC_PING
      • We use IpAddressUUID in order to have a "readable" information in the jgroupsping table

      I could track this down to 4.1.2 / 4.1.3: 4.1.2 works as expected, from 4.1.3 I'm seeing the effect observed above.

      I attached a simple example that demonstrates the problem: starts two stacks, shuts down the second (non-coordindator) and starts it again after a couple of seconds. With 4.1.2 this works as expected (no warnings), but 4.1.3 and more recent versions (including 4.2.3) produce warnings. The exact behavior is not completely consistent: in most cases, starting the second app again results in some timeouts and the second app becomes a coordinator itself and a merge view is established later (log attached). In some cases it only creates the warnings shown above (this is what we observe in our real application) and in some cases everything works fine.

      I don't have any warnings in the log if I don't set an AddressGenerator, but I'd like to avoid this.

      While running this on higher debug levels, I observed the following: 4.1.2 will not require an
      ACK for the LEAVE_RSP message. 4.1.3 will. The second app sends the ACK, but the coordinator does not seem to receive or process it properly and retransmits the LEAVE_RSP message again and again. This is independent of the AddressGenerator used,

        1. JGR.java
          3 kB
        2. JGR.java
          4 kB
        3. JGR2.java
          5 kB
        4. log2.txt
          35 kB
        5. log-fail-1.txt
          10 kB

              rhn-engineering-bban Bela Ban
              pms11 Mirko Streckenbach (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: