[
https://issues.apache.org/jira/browse/ARTEMIS-2055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16593571#comment-16593571
]
ASF subversion and git services commented on ARTEMIS-2055:
----------------------------------------------------------
Commit f2d26dc1be26ea1d7c7ac505403d26a045ca5da9 in activemq-artemis's branch
refs/heads/2.6.x from [~martyntaylor]
[ https://git-wip-us.apache.org/repos/asf?p=activemq-artemis.git;h=f2d26dc ]
ARTEMIS-2055 Set Live LM to Null after route
The ServerSessionPacketHandler has a close() callback handler which will
delete any pending large messages. However, there is a race where a
large message can be routed, then the close delete the associated large
message resulting in data loss.
(cherry picked from commit 490ef71e1dccc88e51d862cc51af468d37d416ce)
> Race Condition in ServerSessionPacketHandler can result in lost data when
> using LargeMessages
> ---------------------------------------------------------------------------------------------
>
> Key: ARTEMIS-2055
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2055
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: Broker
> Affects Versions: 2.6.2
> Reporter: Martyn Taylor
> Priority: Blocker
>
> If the server is shutdown at the same time a client has finished sending a
> large message, a race can occur which results in the server shutdown deleting
> the large message file associated with the message (even after the message
> has been routed). This results in a message with 0 body.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)