Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-12922

Adjust the cell size correctly when using dictionary

    • Storage Engines
    • 5
    • Megabat - 2024-05-14

      This ticket comes after the investigation of WT-8436 where the following has been observed:

      • A cell size is adjusted whether it contains extra information such as time window validity and RLE
      • When using a dictionary, cells are compared to know whether the new value has already been added and a dictionary index can be used
      • During the comparison, we should ignore the time window validity and the RLE but it does not appear to be the case. It has been seen in the reproducer of WT-8436 that even though two cells have the same value, because of their different RLE (one with, the other without), their comparison through __wt_cell_pack_value_match returns false.

      This ticket should investigate if WT_CELL_SIZE_ADJUST is used correctly during the packing and unpacking stages. This comment shows a suggested solution to locally modify the cell size to remove those false negatives but after further discussion, it needs a better understanding of the code before proceeding.

            Assignee:
            etienne.petrel@mongodb.com Etienne Petrel
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: