[
https://issues.apache.org/jira/browse/ARTEMIS-2186?focusedWorklogId=186625&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-186625
]
ASF GitHub Bot logged work on ARTEMIS-2186:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 17/Jan/19 23:44
Start Date: 17/Jan/19 23:44
Worklog Time Spent: 10m
Work Description: michaelandrepearce commented on issue #2444:
ARTEMIS-2186 Large message incomplete when server is crashed
URL: https://github.com/apache/activemq-artemis/pull/2444#issuecomment-455373882
@clebertsuconic you happy with this one? I am.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 186625)
Time Spent: 10m
Remaining Estimate: 0h
> Large message incomplete when server is crashed
> -----------------------------------------------
>
> Key: ARTEMIS-2186
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2186
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: Broker
> Reporter: yangwei
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> When sending large message, the large message file on server side is not
> synced whereas the journal record or paged message is synced.
> When server crashes, large message file maybe incomplete.
> In our case, we saw an empty file when server crashed and started. Then a
> large message with zero size body was delivered to client, client occured
> exception:
> AMQ212058: Unable to get a message.: java.lang.IndexOutOfBoundsException:
> readerIndex(4) + length(1) exceeds writerIndex(4):
> UnpooledDuplicatedByteBuf(ridx: 4, widx: 4, cap: 4, unwrapped:
> UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 4, widx:
> 4, cap: 4))@ClientLargeMessageImpl
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)