[
https://issues.apache.org/jira/browse/ARTEMIS-3807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17529959#comment-17529959
]
ASF subversion and git services commented on ARTEMIS-3807:
----------------------------------------------------------
Commit 48cd586ac59440c99d1bde9477b82c4b8c44a16b in activemq-artemis's branch
refs/heads/main from Clebert Suconic
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=48cd586ac5 ]
ARTEMIS-3807 Simplify Redistributor avoid races, and fix
ProtocolMessageLoadBalancingTest
The control existing in Redistributor is not needed as the Queue::deliver will
already have a control on re-scheduling the loop and avoid holding references
for too long.
> Simplify Message Redistributor avoiding races
> ---------------------------------------------
>
> Key: ARTEMIS-3807
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3807
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Affects Versions: 2.22.0
> Reporter: Clebert Suconic
> Priority: Major
> Fix For: 2.23.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> When Redistributor was written it was important to not keep the queue
> delivery loop holding for long. However that's not any longer needed as the
> QueueImpl::deliver itself will do such controls.
> This task will fix eventual test failures on ProtocolsMessageLoadBalancingTest
--
This message was sent by Atlassian Jira
(v8.20.7#820007)