[
https://issues.apache.org/jira/browse/ARTEMIS-4576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17809627#comment-17809627
]
ASF subversion and git services commented on ARTEMIS-4576:
----------------------------------------------------------
Commit 6f6c5723d50b179860319d380ab759ea1d65620a in activemq-artemis's branch
refs/heads/main from Howard Gao
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=6f6c5723d5 ]
ARTEMIS-4576 ServerSessionImpl#updateProducerMetrics access large messages
after being routed
> ServerSessionImpl#updateProducerMetrics access large messages after being
> routed
> --------------------------------------------------------------------------------
>
> Key: ARTEMIS-4576
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4576
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Reporter: Howard Gao
> Assignee: Howard Gao
> Priority: Major
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> ServerSessionImpl#updateProducerMetrics method is being called after a
> message is routed. If the message is a large message, it can be acked quickly
> and it's backing file will be closed before the method is being called.
> This bug causes random failure in test
> org.apache.activemq.artemis.tests.integration.paging.MessagesExpiredPagingTest#testSendReceiveCORELarge
--
This message was sent by Atlassian Jira
(v8.20.10#820010)