You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ivan Bessonov (Jira)" <ji...@apache.org> on 2020/11/09 09:21:00 UTC

[jira] [Commented] (IGNITE-13684) Rewrite PageIo resolver from static to explicit dependency

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

Ivan Bessonov commented on IGNITE-13684:
----------------------------------------

I think I should add an explanation. This ticket contains refactoring elements necessary for defragmentation. Given that defragmentation patch is huge, we decided to split it. This way it's going to be easier to review and to track history.

Changes are:
 * static constant for cache group meta page;
 * PageStore allocation tracker replaced with a more generic LongConsumer do decouple it from metrics framework;
 * PageReadWriteManager added to basically allow having same cache group in different data regions;
 * several methods and fields exposed as internally public/protected API;
 * several inner classes refactored so that they become static classes;
 * PageIOResolver interface created and used to make data structure more flexible;
 * InsertLast interface for B+Tree added that will optimize comparisons on inserts. Unused for now;

All this code doesn't affect existing behavior.

> Rewrite PageIo resolver from static to explicit dependency
> ----------------------------------------------------------
>
>                 Key: IGNITE-13684
>                 URL: https://issues.apache.org/jira/browse/IGNITE-13684
>             Project: Ignite
>          Issue Type: Sub-task
>            Reporter: Anton Kalashnikov
>            Assignee: Ivan Bessonov
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Right now, ignite has a static pageIo resolver which not allow substituting the different implementation if needed. So it is needed to rewrite the current implementation in order of this target.



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