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 2019/02/20 22:06:00 UTC

[jira] [Commented] (ARTEMIS-2251) Large messages might not be deleted when server crashed

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

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

Commit 285848969f5434d67edc2f575f5df81741c8c6eb in activemq-artemis's branch refs/heads/master from Clebert Suconic
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=2858489 ]

ARTEMIS-2251 Using Callbacks to delete large messages from IO

This closes #2549


> Large messages might not be deleted when server crashed
> -------------------------------------------------------
>
>                 Key: ARTEMIS-2251
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2251
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Qihong Xu
>            Priority: Major
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> When deleting large messages, artemis will use storePendingLargeMessage to insert a temporary record in journal for reload, in case server crashed and large messages stayed forever. But in storePendingLargeMessage that appendAddRecord inserts records asynchronously. In this way there are potential risks that tasks in executor get lost due to server crash, which may lead to undeletable large messages. To solve this problem a Boolean is added to storePendingLargeMessage so that it will be forced to use SimpleWaitIOCallback in delete situation.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)