Andrey Mashenkov created IGNITE-15744:
-----------------------------------------

             Summary: 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
             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)

Reply via email to