[SERVER-71959] Modify usages of Cluster Role Created: 08/Dec/22  Updated: 29/Oct/23  Resolved: 22/Feb/23

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

Type: Task Priority: Major - P3
Reporter: Kshitij Gupta Assignee: Kshitij Gupta
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Sharding 2022-12-12, Sharding NYC 2022-12-26, Sharding NYC 2023-01-09, Sharding NYC 2023-01-23, Sharding NYC 2023-02-06, Sharding NYC 2023-02-20, Sharding NYC 2023-03-06
Participants:

 Description   

For catalogShard mode, we want to break down the if...else blocks which condition behaviour on different cluster roles, so that in this mode, we execute both the config server and shard server behaviours. 

 

Additionally, any usage of `!= ShardServer` has to be replaced with checking for equality.

 

This ticket will track the above work.



 Comments   
Comment by Githook User [ 16/Dec/22 ]

Author:

{'name': 'Kshitij Gupta', 'email': 'kshitij.gupta@mongodb.com', 'username': 'kshitijng'}

Message: SERVER-71959: Modify usages of ClusterRole::
Branch: master
https://github.com/mongodb/mongo/commit/a2c7f46e2cc57b25d0d334376b901ed9f3988071

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