[SERVER-53453] Set finalResponsePromise before calling continueExhaustRequest in NetworkInterfaceTL Created: 18/Dec/20  Updated: 29/Oct/23  Resolved: 22/Dec/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Bug Priority: Minor - P4
Reporter: Tyler Seip (Inactive) Assignee: Tyler Seip (Inactive)
Resolution: Fixed Votes: 0
Labels: servicearch-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Service arch 2020-12-28
Participants:
Linked BF Score: 31

 Description   

See comment:3 on BF-19523 for a more detailed description of this problem; there is a small window of time where `continueExhaustRequest` can try to assign a promise to the `finalResponsePromise` before the `finalResponsePromise` has been set to a non-null promise. Move the assignment of `finalResponsePromise` to before the asynchronous call to `continueExhaustRequest`.



 Comments   
Comment by Ian Whalen (Inactive) [ 04/Jan/21 ]

Author:

{'username': u'evrg-bot-webhook', 'name': u'Tyler Seip', 'email': u'Tyler.Seip@mongodb.com'}

Message:SERVER-53453: Set finalResponsePromise before calling continueExhaustRequest in NetworkInterfaceTL
Branch:master
https://github.com/mongodb/mongo/commit/351ba424951718aeeab0588e7123b80df6f32cd3

Comment by Tyler Seip (Inactive) [ 22/Dec/20 ]

Commit queue build at https://spruce.mongodb.com/version/5fe23df43066154963701a04/tasks

Comment by Tyler Seip (Inactive) [ 22/Dec/20 ]

Evergreen pre-commit at https://spruce.mongodb.com/version/5fdd23931e2d170329ee26f1/tasks - all failures are unrelated to these changes.

Comment by Tyler Seip (Inactive) [ 18/Dec/20 ]

CR at https://mongodbcr.appspot.com/753880003/

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