[SERVER-56567] Add boolean field to reshardingFields to indicate whether an abort came from a user cancelation Created: 03/May/21  Updated: 29/Oct/23  Resolved: 06/May/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: Blake Oler Assignee: Blake Oler
Resolution: Fixed Votes: 0
Labels: PM-234-M3, PM-234-T-autocommits
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-56606 Only indicate cancelation to reshardi... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2021-05-17
Participants:
Story Points: 2

 Description   

{reshardingFields: {state: "committing"}}
{reshardingFields: {state: "aborting", userCanceled: true}}
{reshardingFields: {state: "aborting", userCanceled: false}}

This extra boolean allows resharding metrics on participants to discern between an unrecoverable failure caused by a node and a manual abort triggered by the abortReshardCollection command.



 Comments   
Comment by Githook User [ 04/May/21 ]

Author:

{'name': 'Blake Oler', 'email': 'blake.oler@mongodb.com', 'username': 'BlakeIsBlake'}

Message: SERVER-56567 Add boolean field to reshardingFields to indicate whether an abort came from a user cancelation
Branch: master
https://github.com/mongodb/mongo/commit/2bec78480070f4585aa46f2ff2d5baab90dd3572

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