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

Concurrent message headers modification causes that message is never sent

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.2.14, 3.4.2, 3.5
    • 3.4.1

      Under some circumstances the TP protocol may try to add the TP header to message twice concurrently.
      This happens for example when the stable message triggers retransmission while the message has been sent right now.
      This may result in ArrayOutOfBoundException in Headers._putHeader and/or subsequent NullPointerException in Headers.size(). The retransmission attempt always fails, the message is never delivered. Moreover, keeping this (and possibly following) messages in the transmission table can lead to OOME.

              rhn-engineering-bban Bela Ban
              rvansa1@redhat.com Radim Vansa (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: