Qihong Xu created ARTEMIS-2251:
----------------------------------
Summary: 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
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)