osdir.com


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

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


GitHub user gaohoward opened a pull request:

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

    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.
    
    (cherry picked from b36dc37c152cabe3a0d9af178db043f842bfcdc0)

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

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

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

    https://github.com/apache/activemq-artemis/pull/2462.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 #2462
    
----
commit 44a0487f8fdb503a8b1ed849b1d0c2e039c133b8
Author: Howard Gao <howard.gao@...>
Date:   2018-12-10T05:35:04Z

    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.
    
    (cherry picked from b36dc37c152cabe3a0d9af178db043f842bfcdc0)

----


---