-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Storage Execution
-
ALL
-
Storage Execution 2025-07-07
-
None
-
3
-
TBD
-
None
-
None
-
None
-
None
-
None
-
None
SERVER-94792 exercised the bson corpus by inserting and fetching documents from a collection. The object created by this snippet from the corpus generator had a mismatch when inserted and then queried
// Exercise remaining types and fill size limit. genBSONObj([&](mongo::BSONObjBuilder& ob) -> void { mongo::BSONObjBuilder subObject; subObject.append("a", 1); subObject.done(); char binaryContent[1024]; memset(binaryContent, 1, 1024); unsigned char oidContent[12]; memset(oidContent, 1, 12); mongo::OID oid(oidContent); long long millis = 0; ob.appendMinKey("minkey"); ob.appendMaxKey("maxkey"); ob.appendBinData("bindata", 1024, mongo::BinDataType::BinDataGeneral, binaryContent); ob.appendOID("oid", &oid); ob.appendBool("bool", true); ob.appendDate("date", mongo::Date_t::fromMillisSinceEpoch(millis)); ob.appendNull("null"); ob.appendRegex("regex", mongo::StringData(binaryContent, 1024)); ob.appendDBRef("dbref", mongo::StringData(binaryContent, 1024), oid); ob.appendCode("code", mongo::StringData(binaryContent, 1024)); ob.appendSymbol("symbol", mongo::StringData(binaryContent, 1024)); ob.appendCodeWScope("codewscope", mongo::StringData(binaryContent, 1024), subObject.obj()); ob.appendTimestamp("timestamp", 0ll); fillMaxSize(ob); });
Additionally, queries for the broadly nested objects case and the array of a million elements cases all were extremely slow. Investigate what to do with these.
- is depended on by
-
SERVER-94792 Create a test inserting docs from the BSON corpus into a collection
-
- Blocked
-
- is related to
-
SERVER-94792 Create a test inserting docs from the BSON corpus into a collection
-
- Blocked
-