[SERVER-46648] Cancel pending requests upon receiving the first response Created: 05/Mar/20 Updated: 29/Oct/23 Resolved: 25/Mar/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | 4.4.0-rc0, 4.7.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Cheahuychou Mao | Assignee: | Cheahuychou Mao |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||||||||||||||
| Backport Requested: |
v4.4
|
||||||||||||||||||||||||||||||||
| Sprint: | Service Arch 2020-03-23, Service Arch 2020-04-06 | ||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||
| Description |
|
We should cancel all pending requests as soon as we receive the first response to the requests we send out. We should also make sure to kill any cursors established on the slower nodes if we don't manage to kill those operations in time. |
| Comments |
| Comment by Githook User [ 30/Mar/20 ] |
|
Author: {'name': 'Cheahuychou Mao', 'email': 'cheahuychou.mao@mongodb.com', 'username': 'cheahuychou'}Message: (cherry picked from commit 29798df747882fcb02fe98178d42ade0b9a0da52) |
| Comment by Githook User [ 25/Mar/20 ] |
|
Author: {'email': 'cheahuychou.mao@mongodb.com', 'name': 'Cheahuychou Mao', 'username': 'cheahuychou'}Message: (cherry picked from commit 29798df747882fcb02fe98178d42ade0b9a0da52) |
| Comment by Githook User [ 20/Mar/20 ] |
|
Author: {'email': 'cheahuychou.mao@mongodb.com', 'name': 'Cheahuychou Mao', 'username': 'cheahuychou'}Message: (cherry picked from commit c7a7d9ef04638802c8aac9f5e59c4e306b8e1cc3) |
| Comment by Githook User [ 17/Mar/20 ] |
|
Author: {'name': 'Cheahuychou Mao', 'username': 'cheahuychou', 'email': 'cheahuychou.mao@mongodb.com'}Message: |
| Comment by Mira Carey [ 05/Mar/20 ] |
|
It looks like query is looking into potentially hooking up _killOperations to also close cursors. Which might help here as well. See |