You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Andrey Mashenkov (Jira)" <ji...@apache.org> on 2021/10/13 20:09:00 UTC

[jira] [Updated] (IGNITE-15744) Incorrect vartable compaction to TINY format.

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

Andrey Mashenkov updated IGNITE-15744:
--------------------------------------
    Labels: iep-54 ignite-3  (was: )

> Incorrect vartable compaction to TINY format.
> ---------------------------------------------
>
>                 Key: IGNITE-15744
>                 URL: https://issues.apache.org/jira/browse/IGNITE-15744
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: 3.0.0-alpha2
>            Reporter: Andrey Mashenkov
>            Priority: Major
>              Labels: iep-54, ignite-3
>             Fix For: 3.0.0-alpha4
>
>
> Var-table compaction may lead to row data corruption when {{TINY}} format is selected
> in case of 256+ empty (not null) varlen fields.
> {{TINY}} format will be selected in this case, because payload size fit to a single byte, 
> however, the size of vartable will be truncated{{ int->byte}} with overflow. 
> Possible fixes are:
> * switch to {{MEDIUM}} format
> * always use {{short}} for vartable size



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