[SBE] Investigate handling of deprecated BSON types

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: Querying
    • Fully Compatible
    • Query 2020-12-14, Query 2020-12-28, Query 2021-01-11, Query 2021-01-25, Query 2021-02-08
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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().

            Assignee:
            Justin Seyster
            Reporter:
            Eric Cox (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: