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

Vladimir Ozerov commented on IGNITE-7173:
-----------------------------------------

Cache should be cleared on the following events:
1) Cache destroy
2) Page eviction (PageMemoryImpl.Segment#evictPage)
3) Page update (FreeList.updateDataRow, FreeList.removeDataRowByLink)

To get number of elements on the page: {{DataPageIO.getDirectCount()}}
To understand if evicted page is data page: {{PageIO#getType(long) == T_DATA}}

> SQL: implement optional row cache
> ---------------------------------
>
>                 Key: IGNITE-7173
>                 URL: https://issues.apache.org/jira/browse/IGNITE-7173
>             Project: Ignite
>          Issue Type: Bug
>          Components: sql
>            Reporter: Vladimir Ozerov
>            Assignee: Vladimir Ozerov
>             Fix For: 2.4
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to