[SERVER-85770] Enable internal routing capabilities by default Created: 26/Jan/24  Updated: 06/Feb/24

Status: Open
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Antonio Fuschetto Assignee: Pol Pinol
Resolution: Unresolved Votes: 0
Labels: pm-635-milestone-3
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-83997 Add awareness of assigned ClusterRole... Backlog
Related
is related to SERVER-78810 Improve Cluster Role API usability Open
Assigned Teams:
Catalog and Routing
Sprint: CAR Team 2024-02-19
Participants:

 Description   

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. 


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