[ https://issues.apache.org/jira/browse/IGNITE-15744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17435854#comment-17435854 ]
Yury Gerzhedovich commented on IGNITE-15744: -------------------------------------------- [~amashenkov], LGTM. Thanks for the fix. > Incorrect vartable compaction to TINY format. > --------------------------------------------- > > Key: IGNITE-15744 > URL: https://issues.apache.org/jira/browse/IGNITE-15744 > Project: Ignite > Issue Type: Bug > Components: sql > Affects Versions: 3.0.0-alpha2 > Reporter: Andrey Mashenkov > Assignee: Andrey Mashenkov > Priority: Major > Labels: iep-54, ignite-3 > Fix For: 3.0.0-alpha4 > > Time Spent: 20m > Remaining Estimate: 0h > > 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)