[SERVER-77950] Have bulkWrite truncate large error messages Created: 09/Jun/23 Updated: 29/Oct/23 Resolved: 13/Jun/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.1.0-rc0 |
| Type: | Task | Priority: | Trivial - P5 |
| Reporter: | Sean Zimmerman | Assignee: | Sean Zimmerman |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | milestone-1 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Repl 2023-06-26 |
| Participants: |
| Description |
|
Currently bulkWrite always passes 0 for numErrors into write_ops_exec::generateErrors This means that we will never truncate future errors >1MB which can eat up a lot of cursor memory. We should pass in a proper error count here |
| Comments |
| Comment by Githook User [ 13/Jun/23 ] |
|
Author: {'name': 'seanzimm', 'email': 'sean.zimmerman@mongodb.com', 'username': 'seanzimm'}Message: |