You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/12/10 04:14:00 UTC
[jira] [Commented] (ARTEMIS-2197) Page deleted before transaction
finishes
[ https://issues.apache.org/jira/browse/ARTEMIS-2197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16714284#comment-16714284 ]
ASF GitHub Bot commented on ARTEMIS-2197:
-----------------------------------------
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 <ho...@...>
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.
----
> Page deleted before transaction finishes
> ----------------------------------------
>
> Key: ARTEMIS-2197
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2197
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: Broker
> Affects Versions: 2.6.3
> Reporter: Howard Gao
> Assignee: Howard Gao
> Priority: Major
> Fix For: 2.6.4
>
>
> 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.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)