[SERVER-79855] Race condition in thread_pool_task_executor exhaust handling Created: 08/Aug/23  Updated: 07/Dec/23

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

Type: Bug Priority: Major - P3
Reporter: Matthew Russotto Assignee: Backlog - Service Architecture
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-79857 Use exhaust in ReshardingCollectionCl... Blocked
Assigned Teams:
Service Arch
Operating System: ALL
Sprint: Service Arch Prioritized List
Participants:

 Description   

If the exhaust responses come in faster than the callbacks are executed, the callback field on the callback state will be overwritten several times; this causes the callbacks to be run with the wrong data (the data is encapsulated in the lambda on the callback field).


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