[SERVER-48049] Fix establish_cursors_test race when interrupting a remote request Created: 08/May/20  Updated: 29/Oct/23  Resolved: 18/May/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.4.0-rc8, 4.7.0

Type: Bug Priority: Major - P3
Reporter: Nicholas Zolnierz Assignee: Nicholas Zolnierz
Resolution: Fixed Votes: 0
Labels: qopt-team
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4
Sprint: Query 2020-06-01
Participants:
Linked BF Score: 0

 Description   

In the SingleRemoteInterruptedWhileCommandInFlight unit test, we are expecting the interrupted establishCursors() to immediately schedule a killOperations for the outstanding request. However, due to the asynchronous nature of the ARS, the original command can still get scheduled to be followed up by the killOperations. We need to relax the assertion such that we eventually see a killOperations.



 Comments   
Comment by Githook User [ 27/May/20 ]

Author:

{'name': 'Nick Zolnierz', 'email': 'nicholas.zolnierz@mongodb.com', 'username': 'nzolnierzmdb'}

Message: SERVER-48049 Fix establish_cursors_test race when interrupting a remote request

(cherry picked from commit df291c458193f3bf51c314fc9219efc36dfbd067)
Branch: v4.4
https://github.com/mongodb/mongo/commit/202f27642004fc8a87efa543940825b4f5c8d866

Comment by Githook User [ 18/May/20 ]

Author:

{'name': 'Nick Zolnierz', 'email': 'nicholas.zolnierz@mongodb.com', 'username': 'nzolnierzmdb'}

Message: SERVER-48049 Fix establish_cursors_test race when interrupting a remote request
Branch: master
https://github.com/mongodb/mongo/commit/df291c458193f3bf51c314fc9219efc36dfbd067

Generated at Thu Feb 08 05:15:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.