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 2018/03/30 14:36:00 UTC

[jira] [Commented] (IGNITE-7499) DataRegionMetricsImpl#getPageSize returns ZERO for system data regions

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

Alexey Goncharuk commented on IGNITE-7499:
------------------------------------------

Alexey,

System page size is an implementation detail. Internal pages have some overhead needed to track certain runtime page properties. PageSize is an effective page size that is written to the disk.

Zero being returned for system regions looks like a bug to me.

> DataRegionMetricsImpl#getPageSize returns ZERO for system data regions
> ----------------------------------------------------------------------
>
>                 Key: IGNITE-7499
>                 URL: https://issues.apache.org/jira/browse/IGNITE-7499
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>            Reporter: Alexey Kuznetsov
>            Assignee: Andrey Kuznetsov
>            Priority: Major
>             Fix For: 2.5
>
>
> Working on IGNITE-7492 I found that DataRegionMetricsImpl#getPageSize returns ZERO for system data regions.
> Meanwhile there is also org.apache.ignite.internal.pagemem.PageMemory#systemPageSize method.
> That looks a bit strange, why we need PageSize and SystemPageSize ?
>  



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