Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-2075

NPE During Flow Control in AMQP

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • AMQ 7.2.2.GA
    • AMQ 7.2.1.GA
    • amqp-protocol
    • None
    • Hide
      Cause: Flow Control from a very high performance client. (Such as C++ or Vert-X). Clients that will have async flow control in general.

      Consequence: A NPE could happen during a field check, causing consumers to stale.

      Fix: Cache the field, avoiding a race during the check.

      Result: The code is more reliable and not issues shown after the fix.
      Show
      Cause: Flow Control from a very high performance client. (Such as C++ or Vert-X). Clients that will have async flow control in general. Consequence: A NPE could happen during a field check, causing consumers to stale. Fix: Cache the field, avoiding a race during the check. Result: The code is more reliable and not issues shown after the fix.
    • ARTEMIS-2146

      During flow control in AMQP Core Flow control is disabled by setting an atomic integer to null.

      During the handle the field is checked and during a race that could happen on high performant clients a NPE could happen, as seen on ARTEMIS-2146

            csuconic@redhat.com Clebert Suconic
            csuconic@redhat.com Clebert Suconic
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: