osdir.com


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

[GitHub] activemq-artemis pull request #2455: ARTEMIS-2197 Page deleted before transa...


GitHub user gaohoward opened a pull request:

    https://github.com/apache/activemq-artemis/pull/2455

    ARTEMIS-2197 Page deleted before transaction finishes

    When a receiving transaction is committed in a paging situation,
    if a page happens to be completed and it will be deleted in a
    transaction operation (PageCursorTx). The other tx operation
    RefsOperation needs to access the page (in PageCache) to finish
    its job. There is a chance that the PageCursorTx removes the
    page before RefsOperation and it will cause the RefsOperation
    failed to find a message in a page.

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

    $ git pull https://github.com/gaohoward/activemq-artemis a_e2011_2

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

    https://github.com/apache/activemq-artemis/pull/2455.patch

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

    This closes #2455
    
----
commit 3ebd2e49e5945f305dc68e1be83218bbde3c7085
Author: Howard Gao <howard.gao@...>
Date:   2018-12-10T03:19:15Z

    ARTEMIS-2197 Page deleted before transaction finishes
    
    When a receiving transaction is committed in a paging situation,
    if a page happens to be completed and it will be deleted in a
    transaction operation (PageCursorTx). The other tx operation
    RefsOperation needs to access the page (in PageCache) to finish
    its job. There is a chance that the PageCursorTx removes the
    page before RefsOperation and it will cause the RefsOperation
    failed to find a message in a page.

----


---