-
Type: Bug
-
Resolution: Fixed
-
Priority: Critical - P2
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
ALL
-
Repl 2024-02-19
This code is incorrect and will crash for bulkWrites done with document sequences. We may not always be able to fit all the documents into a BSONObj due to doc sequencing. We should catch this error and run the function with an empty BSONObj.