[SERVER-47602] _killOperations for hedged reads can reach remote before original operation Created: 16/Apr/20  Updated: 24/Jun/22  Resolved: 23/Aug/21

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

Type: Bug Priority: Major - P3
Reporter: Benjamin Caimano (Inactive) Assignee: Amirsaman Memaripour
Resolution: Won't Fix Votes: 0
Labels: servicearch-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
related to SERVER-65329 Ensure cursors are not leaked when he... Open
related to SERVER-45866 Measure connection reuse for Hedged R... Closed
related to SERVER-59521 Remove TODO linked to SERVER-47602 Closed
is related to SERVER-58139 Avoid leaking state from NetworkInter... Closed
Operating System: ALL
Backport Requested:
v4.4
Sprint: Service arch 2020-04-20, Service arch 2020-05-04, Service arch 2020-05-18, Service arch 2020-06-29, Service arch 2020-07-13, Service Arch 2020-08-24, Service Arch 2021-06-28, Service Arch 2021-07-12, Service Arch 2021-08-09, Service Arch 2021-08-23, Service Arch 2021-09-06
Participants:
Linked BF Score: 0
Story Points: 1

 Description   

When we issue a _killoperation to cancel a hedged read, we do not know if the remote server has already processed the original read and registered its clientOperationKey. As a result, the _killOperation can be processed before the original read and "miss" its intended operation.

 

Acceptance Criteria: Tests should ensure that we make the best effort to kill outstanding hedged reads but not require that we do so. 



 Comments   
Comment by Githook User [ 07/Jan/22 ]

Author:

{'name': 'Amirsaman Memaripour', 'email': 'amirsaman.memaripour@mongodb.com', 'username': 'samanca'}

Message: SERVER-59521 Remove TODO for SERVER-47602 and improve the comment
Branch: master
https://github.com/mongodb/mongo/commit/872e9856b0ef0216c2ecd21acb76f40ad881e9db

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