[ 
https://issues.apache.org/jira/browse/ARTEMIS-4155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17688409#comment-17688409
 ] 

ASF subversion and git services commented on ARTEMIS-4155:
----------------------------------------------------------

Commit ed5f63538e86529348500a4d524c47b3ffbc0951 in activemq-artemis's branch 
refs/heads/dependabot/maven/examples/features/standard/security-keycloak/org.keycloak-keycloak-core-20.0.3
 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)

Reply via email to