[
https://issues.apache.org/jira/browse/ARTEMIS-5733?focusedWorklogId=989562&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-989562
]
ASF GitHub Bot logged work on ARTEMIS-5733:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 30/Oct/25 11:10
Start Date: 30/Oct/25 11:10
Worklog Time Spent: 10m
Work Description: AntonRoskvist commented on PR #6020:
URL:
https://github.com/apache/activemq-artemis/pull/6020#issuecomment-3467422819
So to clarify the change... if the `AsynchronousProducerCreditsImpl`
receives credits and lands on a balance of exactly `0`. The callback to the
bridge will set `blockedOnFlowControl = true` based on `balance <= 0` but the
following handling of credit starvation evaluates `balance < 0` so it is not
executed.
Following this, the bridge will return all calls to `handle` with
`HandleStatus.BUSY` so it will never attempt to get more credits, effectively
locking it.
Issue Time Tracking
-------------------
Worklog Id: (was: 989562)
Time Spent: 20m (was: 10m)
> Core bridge can lock on flow control
> ------------------------------------
>
> Key: ARTEMIS-5733
> URL: https://issues.apache.org/jira/browse/ARTEMIS-5733
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Reporter: Anton Roskvist
> Priority: Major
> Labels: pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Landing on a balance of 0 credits, the bridge can lock with no chance of
> recovery besides a re-deploy of the bridge.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact