[SERVER-60846] Remove double severity in favor of discrete type Created: 20/Oct/21  Updated: 29/Oct/23  Resolved: 04/Jan/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.3.0, 5.2.2

Type: Improvement Priority: Major - P3
Reporter: Lamont Nelson Assignee: Davis Haupt (Inactive)
Resolution: Fixed Votes: 0
Labels: pm-2364-faulty-mongos
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.2, v4.4
Participants:
Linked BF Score: 50

 Description   

The severity field is currently a double, and is adding complexity with little benefit. The task for this ticket is to replace this field with either a enum or boolean type. Our current requirements are to record whether or not a health check has failed. We should add a type alias so that this could change easily in the future.



 Comments   
Comment by Githook User [ 15/Feb/22 ]

Author:

{'name': 'Davis Haupt', 'email': 'davis.haupt@mongodb.com', 'username': 'davish'}

Message: SERVER-60846 replace double severity with enum type

(cherry picked from commit 5a243e404806f10a5e55db5013d42b4321992c09)
Branch: v5.2
https://github.com/mongodb/mongo/commit/0ea01b27a630d3fc43e7c5cb8c28b3c3eb29a848

Comment by Githook User [ 15/Feb/22 ]

Author:

{'name': 'Davis Haupt', 'email': 'davis.haupt@mongodb.com', 'username': 'davish'}

Message: SERVER-60846 replace double severity with enum type

(cherry picked from commit 3122715232567360302adcd7064bdd404b54d610)
Branch: v5.2
https://github.com/10gen/mongo-enterprise-modules/commit/aaf32f52a1e4a390ce933f909bef87321974d9fc

Comment by Githook User [ 01/Feb/22 ]

Author:

{'name': 'Davis Haupt', 'email': 'davis.haupt@mongodb.com', 'username': 'davish'}

Message: SERVER-60846 replace double severity with enum type

(cherry picked from commit 3122715232567360302adcd7064bdd404b54d610)
Branch: v5.0
https://github.com/10gen/mongo-enterprise-modules/commit/79eb37e772f25af8df134a4f1616ef3295595606

Comment by Githook User [ 04/Jan/22 ]

Author:

{'name': 'Davis Haupt', 'email': 'davis.haupt@mongodb.com', 'username': 'davish'}

Message: SERVER-60846 replace double severity with enum type
Branch: master
https://github.com/mongodb/mongo/commit/5a243e404806f10a5e55db5013d42b4321992c09

Comment by Githook User [ 04/Jan/22 ]

Author:

{'name': 'Davis Haupt', 'email': 'davis.haupt@mongodb.com', 'username': 'davish'}

Message: SERVER-60846 replace double severity with enum type
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/3122715232567360302adcd7064bdd404b54d610

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