[SERVER-54580] Update ServerStatus OperationStatus enum Created: 16/Feb/21  Updated: 29/Oct/23  Resolved: 06/Mar/21

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

Type: Task Priority: Major - P3
Reporter: Billy Donahue Assignee: Billy Donahue
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
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2021-02-22, Sharding 2021-03-08
Participants:
Linked BF Score: 0
Story Points: 1

 Description   

The opStatus values are updated in the Resharding Tech Design doc to make the type amenable to definition as an IDL enum.

 

// 0 = success
// 1 = failure
// 2 = canceled
// 3 = running
// 4 = inactive
opStatus: int32



 Comments   
Comment by Githook User [ 06/Mar/21 ]

Author:

{'name': 'Billy Donahue', 'email': 'billy.donahue@mongodb.com', 'username': 'BillyDonahue'}

Message: SERVER-54580 refresh expected enum strings in resharding_metrics.js
Branch: master
https://github.com/mongodb/mongo/commit/2d6a68138c03f51680e3c354e4668eb2d7656442

Comment by Githook User [ 06/Mar/21 ]

Author:

{'name': 'Billy Donahue', 'email': 'billy.donahue@mongodb.com', 'username': 'BillyDonahue'}

Message: SERVER-54580 ReshardingOperationStatusEnum in IDL

integrate the new kRunning state
rename completionStatus->opStatus
do not need optional for opStatus anymore
Branch: master
https://github.com/mongodb/mongo/commit/94236461bc1dc7b23812f37196229cb2fb6d6388

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