[SERVER-57260] Plumb through userCanceled to the _shardsvrAbortReshardCollection command and participant machine abort functions Created: 27/May/21  Updated: 29/Oct/23  Resolved: 03/Jun/21

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

Type: Task Priority: Major - P3
Reporter: Blake Oler Assignee: Luis Osta (Inactive)
Resolution: Fixed Votes: 0
Labels: PM-234-M3, PM-234-T-autocommits, sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Gantt Dependency
has to be done before SERVER-56606 Only indicate cancelation to reshardi... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.0
Sprint: Sharding 2021-06-14, Sharding 2021-05-31
Participants:
Story Points: 1

 Description   
  1. Make userCanceled a non-optional bool in the idl for _shardsvrAbortReshardCollection
  2. Add userCanceled to the command creation here, setting it to true if status == ReshardCollectionAborted and false otherwise.
  3. Pass userCanceled into the call into machine->abort();
  4. Change the header of recipient/donor machine's abort() functions to take in userCanceled. For the purposes of this ticket, you won't do anything with it yet.


 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 04/Jun/21 ]

Author:

{'name': 'Luis Osta', 'email': 'luis.osta@mongodb.com', 'username': 'LuisOsta'}

Message: SERVER-57260 Plumb through userCanceled to the _shardsvrAbortReshardCollection command and participant machine abort functions
Branch: v5.0
https://github.com/mongodb/mongo/commit/68c9a23c525eb75f2ab4228c2a6975e7d1a568de

Comment by Githook User [ 02/Jun/21 ]

Author:

{'name': 'Luis Osta', 'email': 'luis.osta@mongodb.com', 'username': 'LuisOsta'}

Message: SERVER-57260 Plumb through userCanceled to the _shardsvrAbortReshardCollection command and participant machine abort functions
Branch: master
https://github.com/mongodb/mongo/commit/1e1ae49e84368b838c0f8e771a22a2cca077dc1c

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