-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Catalog and Routing
-
Fully Compatible
-
CAR Team 2024-02-19, CAR Team 2024-03-04, CAR Team 2024-03-18, CAR Team 2024-04-01
-
154
Starting in version 8.0, internal routing capabilities are available by default and no longer depend on the ClusterRole::RouterServer condition.
This implies that ClusterRole::RouterServer can be removed as implicitly set on each MongoD node, but at the same time we need a way to gate routing code. One possible solution is to use the feature flag that currently allow to set the ClusterRole::RouterServer (in other words, the router role is set when the feature flag is enabled).
This implies that ClusterRole::RouterServer can be removed since it is implicitly set on each MongoD node, but at the same time, we need a way to control the routing code. A possible solution would be to reuse thefeatureFlagEmbeddedRouter feature flag that currently allows to set ClusterRole::RouterServer (in other words, the router role is set when the capability flag is enabled).
The goal of this ticket is to evaluate possible alternatives and implement the most reasonable one.
Note: As evaluated in SERVER-84127, the internal routing capabilities won't be FCV-gated in version 8.0.
- is depended on by
-
SERVER-83997 Add awareness of assigned ClusterRoles to ServiceContextTest
- Backlog
-
SERVER-87249 Remove feature flag NewFTDCFormat
- Closed
-
SERVER-86391 Simplify SEPTransactionClientBehaviors code from internal txn API
- Backlog
-
SERVER-87875 Remove `RouterServer` checks from `serverGlobalParams.clusterRole`
- Backlog
-
SERVER-87876 Remove the bitmask of ClusterRole API in favor of process type getters (Standalone / RS, Shard, Config, MongoS)
- Backlog
- is related to
-
SERVER-88029 Investigate why change_streams passthrough suites fail with replica set endpoint
- Closed
-
SERVER-86759 Investigate the onstepdown logic for embedded router config shard
- Closed
-
SERVER-86048 Allow mongod with embedded router to start up with existing shard identity document
- Closed
-
SERVER-78810 Improve Cluster Role API usability
- Closed
- related to
-
SERVER-88001 Complete TODO listed in SERVER-85770
- Closed