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)
GitHub user gaohoward opened a pull request:
https://github.com/apache/activemq-artemis/pull/2455
ARTEMIS-2197Page deleted before transaction finishesWhen 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-2197Page deleted before transaction finishesWhen 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.