-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Querying
-
Labels:
-
Fully Compatible
-
Query 2020-12-14, Query 2020-12-28, Query 2021-01-11, Query 2021-01-25, Query 2021-02-08
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().