[SERVER-55321] Integrate CancelableOperationContext into ReshardingTxnCloner Created: 19/Mar/21  Updated: 29/Oct/23  Resolved: 07/Apr/21

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

Type: Task Priority: Major - P3
Reporter: Max Hirschhorn Assignee: Janna Golden
Resolution: Fixed Votes: 0
Labels: PM-234-M3, PM-234-T-error-flow
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Sharding 2021-04-19
Participants:
Story Points: 1

 Description   

The ReshardingTxnCloner::_withTemporaryOperationContext() method and its lengthy doc comment can be removed. It is still necessary for the CurOp to be marked as having started for the call to Pipeline::getNext() though. See also the CancelableOperationContextFactory class mentioned in SERVER-55306.



 Comments   
Comment by Githook User [ 07/Apr/21 ]

Author:

{'name': 'jannaerin', 'email': 'golden.janna@gmail.com', 'username': 'jannaerin'}

Message: SERVER-55321 Integrate CancelableOperationContext into ReshardingTxnCloner
Branch: master
https://github.com/mongodb/mongo/commit/73e0a4048d818987ef6a9d0b95799fdf93bd03f6

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