ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Scherbakov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-9445) Use valid tag for page write unlock while reading cold page from disk.
Date Fri, 31 Aug 2018 12:26:00 GMT

     [ https://issues.apache.org/jira/browse/IGNITE-9445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alexei Scherbakov updated IGNITE-9445:
--------------------------------------
    Description: 
The problem arises when passing pageId with not actual page rotation tag to org.apache.ignite.internal.processors.cache.persistence.pagemem.PageMemoryImpl#acquirePage(int,
long, boolean).

It's not possible in advance to know the actual value without reading stored page.

Such scenario may lead to locked forever page if passed and persisted tags are different.

Solution - unlock the page using actual(persisted) tag value.

  was:
The problem arises when passing pageId with not actual page rotation tag to org.apache.ignite.internal.processors.cache.persistence.pagemem.PageMemoryImpl#acquirePage(int,
long, boolean).

It's not possible in advance to know the actual value without reading stored page.

Such scenario may lead to locked forever page if passed and persisted tags are different.

Solution - unlock page using actual(persisted) tag value.


> Use valid tag for page write unlock while reading cold page from disk.
> ----------------------------------------------------------------------
>
>                 Key: IGNITE-9445
>                 URL: https://issues.apache.org/jira/browse/IGNITE-9445
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Alexei Scherbakov
>            Assignee: Alexei Scherbakov
>            Priority: Major
>
> The problem arises when passing pageId with not actual page rotation tag to org.apache.ignite.internal.processors.cache.persistence.pagemem.PageMemoryImpl#acquirePage(int,
long, boolean).
> It's not possible in advance to know the actual value without reading stored page.
> Such scenario may lead to locked forever page if passed and persisted tags are different.
> Solution - unlock the page using actual(persisted) tag value.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message