[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 |
| Comments |
| Comment by Githook User [ 07/Apr/21 ] |
|
Author: {'name': 'jannaerin', 'email': 'golden.janna@gmail.com', 'username': 'jannaerin'}Message: |