You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2023/02/06 14:28:00 UTC
[jira] [Commented] (ARTEMIS-4155) Broker will dead lock if sending OpenWire Large Messages With Journal Retention configured.
[ https://issues.apache.org/jira/browse/ARTEMIS-4155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17684708#comment-17684708 ]
ASF subversion and git services commented on ARTEMIS-4155:
----------------------------------------------------------
Commit ed5f63538e86529348500a4d524c47b3ffbc0951 in activemq-artemis's branch refs/heads/main from Clebert Suconic
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=ed5f63538e ]
ARTEMIS-4155 Fixing deadlock on LargeMessage conversion and retention
> Broker will dead lock if sending OpenWire Large Messages With Journal Retention configured.
> -------------------------------------------------------------------------------------------
>
> Key: ARTEMIS-4155
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4155
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Reporter: Clebert Suconic
> Assignee: Clebert Suconic
> Priority: Major
> Fix For: 2.29.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> the LargeServerMessageImpl.asLargeMessage will check if the message is beyond the journal buffer size and convert it to large.
> if retention is used, this operation tries to make a sync operation on the journal which will never complete because is being called within the JournalExecutor itself. It's a server's deadlock on this case (actually technically a starvation, but same results).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)