[SERVER-76158] ClusterRole should be clarified in cluster_role.h Created: 14/Apr/23  Updated: 29/Oct/23  Resolved: 30/Jun/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Matt Kneiser Assignee: Jack Mulrow
Resolution: Fixed Votes: 0
Labels: sharding-tech-debt
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Assigned Teams:
Sharding NYC
Backwards Compatibility: Fully Compatible
Sprint: Sharding NYC 2023-06-12, Sharding NYC 2023-06-26, Sharding NYC 2023-07-10
Participants:
Story Points: 1

 Description   

The roles are not clear, especially considering they can be overlapping according to the comments in cluster_role.h.

 

This header should be more authoritative and descriptive.

 

For example, what does None mean? Standalone? Merely not the other two roles?



 Comments   
Comment by Githook User [ 03/Jul/23 ]

Author:

{'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}

Message: SERVER-76158 More descriptive comments for ClusterRole class
Branch: EVG-17874-taskgen-test
https://github.com/mongodb/mongo/commit/209bc30ad0aa0efc1e8bff24ac7659d69f672e7f

Comment by Githook User [ 30/Jun/23 ]

Author:

{'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}

Message: SERVER-76158 More descriptive comments for ClusterRole class
Branch: master
https://github.com/mongodb/mongo/commit/209bc30ad0aa0efc1e8bff24ac7659d69f672e7f

Generated at Thu Feb 08 06:31:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.