[SERVER-66810] Pull expensive calls like _wakeReadyWaiters out of the replSetUpdatePosition inner loop Created: 26/May/22 Updated: 29/Oct/23 Resolved: 08/Jun/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.1.0-rc0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Matthew Russotto | Assignee: | Matthew Russotto |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Backport Requested: |
v6.0, v5.3, v5.0
|
||||||||||||
| Sprint: | Repl 2022-05-30, Repl 2022-06-13 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
We only need to wake waiters once after doing all the update positions, not once for every secondary updated. |
| Comments |
| Comment by Githook User [ 08/Jun/22 ] |
|
Author: {'name': 'Matthew Russotto', 'email': 'matthew.russotto@mongodb.com', 'username': 'mtrussotto'}Message: |