[ 
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)

Reply via email to