You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vyacheslav Koptilin (Jira)" <ji...@apache.org> on 2022/10/18 12:26:00 UTC

[jira] [Updated] (IGNITE-17104) Organize the prevention of crossing the field PageIo#type

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

Vyacheslav Koptilin updated IGNITE-17104:
-----------------------------------------
    Fix Version/s: 3.0.0-beta2
                       (was: 3.0.0-beta1)

> Organize the prevention of crossing the field PageIo#type
> ---------------------------------------------------------
>
>                 Key: IGNITE-17104
>                 URL: https://issues.apache.org/jira/browse/IGNITE-17104
>             Project: Ignite
>          Issue Type: Task
>            Reporter: Kirill Tkalenko
>            Priority: Major
>              Labels: ignite-3
>             Fix For: 3.0.0-beta2
>
>
> Problem:
> When adding a new heir to the {*}org.apache.ignite.internal.pagememory.io.PageIo{*}, we need to determine its {*}PageIo#type{*}, and at first glance it is not clear how to do this, and when testing, it turns out that this type is already taken, which is not convenient. It is necessary to organize a mechanism / methodology for how to do this, since at the moment the next one from all known ones is simply taken. Also, don't forget that these types can be added via modules/plugins.
>  
> Implementation thoughts:
>  * For each structure, we reserve a range of 50 types, and then we get about 1310 (65535 / 50) possible structures, which should be enough;
>  * Somewhere to keep a register of structures to minimize their intersection, for example, make it look like [Community edition features list|https://ggsystems.atlassian.net/wiki/spaces/GG/pages/1192198276/Community+edition+features+list].



--
This message was sent by Atlassian Jira
(v8.20.10#820010)