Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-88495

Test uncompressed literals for interleaved decompressFast()

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.0-rc5
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • v8.0

      We have tests that hit multiple delta blocks for decompressFast(), here:

      https://github.com/10gen/mongo/blob/ed7a17b021b69e4d9f41d036e31438c065e56f59/src/mongo/bson/util/bsoncolumn_blockbased_test.cpp#L567-L592

      This code is not quite merged yet.

      It would be good to also test at least one uncompressed literal in the scalar stream, since I don't think we hit that case yet. I think the elements that get passed into verifyDecompressPaths() could be chosen to force an uncompressed literal. Alternatively, we could build the BSONColumn manually using similar methods as used in BSONColumnTest.

            Assignee:
            binh.vo@mongodb.com Binh Vo
            Reporter:
            chris.wolff@mongodb.com Chris Wolff
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: