You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Alexey Goncharuk (Jira)" <ji...@apache.org> on 2019/12/02 17:22:00 UTC

[jira] [Commented] (IGNITE-12412) Incomplete check for ABA problem in PageMemoryImpl#PagePool

    [ https://issues.apache.org/jira/browse/IGNITE-12412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16986209#comment-16986209 ] 

Alexey Goncharuk commented on IGNITE-12412:
-------------------------------------------

The test alongside with a small refactoring required to create the test are in the attached PR.

> Incomplete check for ABA problem in PageMemoryImpl#PagePool
> -----------------------------------------------------------
>
>                 Key: IGNITE-12412
>                 URL: https://issues.apache.org/jira/browse/IGNITE-12412
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Alexey Goncharuk
>            Assignee: Alexey Goncharuk
>            Priority: Critical
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> In current implementation, {{PagePool#releasePage}} clears the counter part of the returned page ID, which effectively disables the ABA check intended in the class. This issue can be rarely reproduced on zOS during checkpoints (when pages are being taken and returned to the checkpoint pages pool).
> I managed to write a unit-test to reproduce this issue on x86.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)