[SERVER-82056] Investigate and fix slow bulkWrite addition of insert replies. Created: 10/Oct/23 Updated: 29/Oct/23 Resolved: 16/Oct/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.2.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Vishnu Kaushik | Assignee: | Sean Zimmerman |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | milestone-4 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Assigned Teams: |
Replication
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Sprint: | Repl 2023-10-16, Repl 2023-10-30 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
The addInsertReplies method here takes about 2% of the total time that the bulkWrite thread spends. In a patch in which I commented out this method, along with populateCursorReplies, I saw a significant performance raise. See |
| Comments |
| Comment by Githook User [ 16/Oct/23 ] |
|
Author: {'name': 'seanzimm', 'email': 'sean.zimmerman@mongodb.com', 'username': 'seanzimm'}Message: |