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

[SBE] Investigate handling of deprecated BSON types

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.9.0
    • None
    • Querying
    • Fully Compatible
    • Query 2020-12-14, Query 2020-12-28, Query 2021-01-11, Query 2021-01-25, Query 2021-02-08

    Description

      When implementing SERVER-50369 we came across some legacy code that handles a deprecated BSON subtype ByteArrayDeprecated. This ticket represents work that should be done to make sure that we are correctly handling this subtype of BinData in sbe. We should re-examine value::getBSONBinData() for this subtype and make sure that the pointer returned correctly points to the underlying payload and not the extra int32 at the head of the buffer.  Another possible location to consider is deserializeTagVal() and serializeTagVal().

      Attachments

        Activity

          People

            justin.seyster@mongodb.com Justin Seyster
            eric.cox@mongodb.com Eric Cox (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: