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

Complete support for double in decompressGeneral()

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • Fully Compatible

      When triaging test failures for SERVER-87165, when turning on block-based testing for the decompress(all) path with handling for interleaved sections, I noticed that support for doubles is not complete.

      Specifically I was seeing test failures for cases like this one:

      https://github.com/10gen/mongo/blob/3e56d3ac12360fa1bf61a4007ef8b7cbf751446b/src/mongo/bson/util/bsoncolumn_test.cpp#L3892 

      And I was hitting an invariant here:

      https://github.com/10gen/mongo/blob/3e56d3ac12360fa1bf61a4007ef8b7cbf751446b/src/mongo/bson/util/bsoncolumn_interleaved.cpp#L194 

      I think some support for double was accidentally omitted. I also did not catch the omission during review.

            Assignee:
            naama.bareket@mongodb.com Naama Bareket
            Reporter:
            chris.wolff@mongodb.com Chris Wolff
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: