[SERVER-77403] Remove TaskExecutor fulfilling response with CallbackCanceled Created: 23/May/23  Updated: 29/Oct/23  Resolved: 21/Jun/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Alex Li Assignee: Alex Li
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Problem/Incident
causes SERVER-77851 Address recursive lock acquisition wh... Closed
causes SERVER-77707 Always invoke onReply callback out-of... Closed
Backwards Compatibility: Fully Compatible
Sprint: Service Arch 2023-05-29, Service Arch 2023-06-12, Service Arch 2023-06-26
Participants:
Linked BF Score: 147

 Description   

If cancellation occurs between NetworkInterfaceTL response promise completion and TaskExecutor cancellation checking, the final response promise is fulfilled with CallbackCancelled, despite already receiving a response from NetworkInterfaceTL. Remove this, and add an async_rpc test verifying that cancellation after NetworkInterfaceTL response received will not change the final response. 



 Comments   
Comment by Githook User [ 21/Jun/23 ]

Author:

{'name': 'Alex Li', 'email': 'alex.li@mongodb.com', 'username': 'lia394126'}

Message: SERVER-77403 Remove TaskExecutor fulfilling response with CallbackCanceled
Branch: master
https://github.com/mongodb/mongo/commit/3f4e0b605a45b223534d5fda5273cd8d0ec60226

Comment by Githook User [ 05/Jun/23 ]

Author:

{'name': 'Alex Li', 'email': 'alex.li@mongodb.com', 'username': 'lia394126'}

Message: Revert "SERVER-77403 Remove TaskExecutor fulfilling response with CallbackCanceled"

This reverts commit b113568e5aec49aed207756bddb9c42870a37161.
Branch: master
https://github.com/mongodb/mongo/commit/0943108cb19313801f5d91ccec299cfb567dd7bc

Comment by Githook User [ 26/May/23 ]

Author:

{'name': 'Alex Li', 'email': 'alex.li@mongodb.com', 'username': 'lia394126'}

Message: SERVER-77403 Remove TaskExecutor fulfilling response with CallbackCanceled
Branch: master
https://github.com/mongodb/mongo/commit/b113568e5aec49aed207756bddb9c42870a37161

Generated at Thu Feb 08 06:35:26 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.