Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-15744

Incorrect vartable compaction to TINY format.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha2
    • 3.0.0-alpha4
    • sql
    • Docs Required, Release Notes Required

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              amashenkov Andrey Mashenkov
              amashenkov Andrey Mashenkov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h