activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wy96f <>
Subject [GitHub] activemq-artemis pull request #2444: ARTEMIS-2186 Large message incomplete w...
Date Tue, 27 Nov 2018 07:16:40 GMT
GitHub user wy96f opened a pull request:

    ARTEMIS-2186 Large message incomplete when server is crashed

    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

You can merge this pull request into a Git repository by running:

    $ git pull sync_large_message

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2444
commit 96f7daf39e09bae3503d572a94f381a3f108c2db
Author: yang wei <wy96fyw@...>
Date:   2018-11-27T07:14:31Z

    ARTEMIS-2186 Large message incomplete when server is crashed



View raw message