Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-4003

FlowControl on BridgeImpl is broken for Large Messages

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.26.0
    • None
    • None

    Description

      LargeMessages over BridgeImpl (including Clustering) will request more credits eventually than what they are entitled. This is because we don't flow control the large message producer on the Bridge (at least not yet), and the sender could get to a window where it requested more credits than it was entitled. The flow control on the Bridge is limited to handle returning busy or not (and that should be enough really).

      as a Result, the flow control will never refill and the bridge would freeze and get stuck.

      To fix this situation we should check for the starve at the end of the receive credits and do the proper refill.

      I am writing a test validating this issue, it will be under smokeTests and it will be named org.apache.activemq.artemis.tests.smoke.clusteredLargeMessage.ClusteredLargeMessageTest

      Attachments

        Issue Links

          Activity

            People

              clebertsuconic Clebert Suconic
              clebertsuconic Clebert Suconic
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m