[
https://issues.apache.org/jira/browse/ARTEMIS-4141?focusedWorklogId=881325&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-881325
]
ASF GitHub Bot logged work on ARTEMIS-4141:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 22/Sep/23 07:20
Start Date: 22/Sep/23 07:20
Worklog Time Spent: 10m
Work Description: essobedo opened a new pull request, #4627:
URL: https://github.com/apache/activemq-artemis/pull/4627
Fixes https://issues.apache.org/jira/browse/ARTEMIS-4141
## Motivation
When big messages are produced, if a consumer receives an expired message,
the credits are not updated, so if the consumer is slow, we can end up with a
situation where there are no more credits which prevents the consumer from
receiving any more messages.
## Modifications:
* Updates the credits even in case of an expired message to avoid running
out of credits
* Add a test simulating the use case of the ticket
Issue Time Tracking
-------------------
Worklog Id: (was: 881325)
Remaining Estimate: 0h
Time Spent: 10m
> Message flow gets stuck
> -----------------------
>
> Key: ARTEMIS-4141
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4141
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Affects Versions: 2.22.0, 2.27.1
> Reporter: Ivan Iliev
> Priority: Blocker
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Reproducible at
> [https://github.com/iiliev2/activeqm-artemis/tree/main/sf-queue-stuck] - see
> the readme.
> Broader discussion of the issue at
> https://the-asf.slack.com/archives/CFL910J30/p1673891918582619.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)