[SERVER-63600] Add --hybridsvr option to mongod Created: 11/Feb/22 Updated: 29/Oct/23 Resolved: 15/Feb/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Andrew Shuvalov (Inactive) | Assignee: | Andrew Shuvalov (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | sharding-nyc-subteam2, sharding-nyc-subteam2-catalog-poc | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Sharding 2022-02-21 | ||||||||
| Participants: | |||||||||
| Story Points: | 3 | ||||||||
| Description |
|
The syntax for hybrid mongod command line will be: mongod --shardsvr --hybridsvr while not making changes in the "sharding: clusterRole: " yml params for now. Modify the `enum class ClusterRole` to make the fields bitmask compatible so that ShardServer and ConfigServer are no longer mutually excluding. Override the '==' operator so that the compare `serverGlobalParams.clusterRole == ...` returns true on either role. Define the `is()` method that can be used instead of `==`. We will need to delete the operator `==` eventually when it all works at least to make sure that all occurrences are properly addressed, but we won't be able to do this for a while. |
| Comments |
| Comment by Andrew Shuvalov (Inactive) [ 15/Feb/22 ] |
|
fixed in our POC branch PM-2290/ |