[SERVER-86225] Fix doc sequences for bulkWrite Created: 05/Feb/24 Updated: 08/Feb/24 Resolved: 08/Feb/24 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 8.0.0-rc0 |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | Sean Zimmerman | Assignee: | Sean Zimmerman |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Sprint: | Repl 2024-02-19 |
| Participants: |
| Description |
|
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. |
| Comments |
| Comment by Githook User [ 07/Feb/24 ] |
|
Author: {'name': 'seanzimm', 'email': '102551488+seanzimm@users.noreply.github.com', 'username': 'seanzimm'}Message: GitOrigin-RevId: 0f276120f4c56248ce532f9e817f83b04525d941 |