[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GitHub] activemq-artemis pull request #2324: ARTEMIS-2092 fix first page messages lo...

GitHub user wy96f opened a pull request:


    ARTEMIS-2092 fix first page messages lost on server crash bug

    Reproduction steps:
    1. Send messages(using non transactional session), ensure the queue enters page mode and only one page is created.
    2. Kill -9 server process or crash server.
    3. Start the server and we find that page created in step 1 is deleted. Messages in the page are lost.
    When server starts, we should set empty flag of pageSubscription to false if pendingCounter record is loaded to prevent cleanup process from deleting the page.

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

    $ git pull https://github.com/wy96f/activemq-artemis first_page_messages_lost

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 #2324
commit 3028969c049a5e9b4d2b772efa16920a6e6ccb90
Author: yang wei <wy96fyw@...>
Date:   2018-09-19T09:42:02Z

    ARTEMIS-2092 fix first page messages lost on server crash bug