You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Clebert Suconic (Jira)" <ji...@apache.org> on 2022/09/19 13:44:00 UTC

[jira] [Created] (ARTEMIS-4003) FlowControl on BridgeImpl is broken for Large Messages

Clebert Suconic created ARTEMIS-4003:
----------------------------------------

             Summary: FlowControl on BridgeImpl is broken for Large Messages
                 Key: ARTEMIS-4003
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4003
             Project: ActiveMQ Artemis
          Issue Type: Bug
            Reporter: Clebert Suconic
            Assignee: Clebert Suconic


LargeMessages will request more credits eventually than what they are entitled. This is because we don't flow control the large message producer (at least not yet), and the sender could get to a window where it requested more credits than it was entitled.

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 the condition 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



--
This message was sent by Atlassian Jira
(v8.20.10#820010)