[SERVER-79144] Set router role setting only when `featureFlagCohostedRouter` is enabled Created: 20/Jul/23  Updated: 29/Oct/23  Resolved: 21/Jul/23

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

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

Issue Links:
Depends
is depended on by SERVER-77917 (SA) MongoD opens a second listening ... Closed
Assigned Teams:
Sharding EMEA
Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2023-07-24
Participants:

 Description   

The router role should be set only when featureFlagCohostedRouter is enable.

Unfortunately there is no way to guard the arguments processed by the binary, so the --router and sharding.routerEnabled arguments are still settable and documented in the help command output. Consequently, related tests are run on build variants where featureFlagCohostedRouter is disabled.



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

Author:

{'name': 'Antonio Fuschetto', 'email': 'antonio.fuschetto@mongodb.com', 'username': 'afuschetto'}

Message: SERVER-79144 Set router role setting only when `featureFlagCohostedRouter` is enabled
Branch: master
https://github.com/mongodb/mongo/commit/69633718a2444fe6ff595cded352b7825cb528fd

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