You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Roman Puchkovskiy (Jira)" <ji...@apache.org> on 2023/05/23 11:38:00 UTC

[jira] [Updated] (IGNITE-19547) Switch index IDs from UUID to int

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

Roman Puchkovskiy updated IGNITE-19547:
---------------------------------------
    Description: 
Currently, as indices are stored as named list items in the Configuration, they are internally (to the configuration) identified by UUIDs. The same UUIDs are also used to identify indices in the whole system.

We need to change the latter: that is, in addition to the internal IDs (needed only for configuration), we need to generate integer IDs and use them in the rest of the system to identify indices.

For now, index IDs should be generated using same global counter that will be used to generate table and zone IDs.

Internal IDs will remain until we switch from storing tables/indices/zones in the Configuration to storing them in the Catalog (this is out of scope of this task).

  was:
Currently, as indices are stored as named list items in the Configuration, they are internally (to the configuration) identified by UUIDs. The same UUIDs are also used to identify indices in the whole system.

We need to change the latter: that is, in addition to the internal IDs (needed only for configuration), we need to generate integer IDs and use them in the rest of the system to identify indices.

Internal IDs will remain until we switch from storing tables/indices/zones in the Configuration to storing them in the Catalog (this is out of scope of this task).


> Switch index IDs from UUID to int
> ---------------------------------
>
>                 Key: IGNITE-19547
>                 URL: https://issues.apache.org/jira/browse/IGNITE-19547
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Roman Puchkovskiy
>            Priority: Major
>              Labels: ignite-3
>             Fix For: 3.0.0-beta2
>
>
> Currently, as indices are stored as named list items in the Configuration, they are internally (to the configuration) identified by UUIDs. The same UUIDs are also used to identify indices in the whole system.
> We need to change the latter: that is, in addition to the internal IDs (needed only for configuration), we need to generate integer IDs and use them in the rest of the system to identify indices.
> For now, index IDs should be generated using same global counter that will be used to generate table and zone IDs.
> Internal IDs will remain until we switch from storing tables/indices/zones in the Configuration to storing them in the Catalog (this is out of scope of this task).



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