[SERVER-81231] Extend the `serverStatus` command to report whether the embedded router is enabled or not Created: 20/Sep/23  Updated: 29/Oct/23  Resolved: 05/Oct/23

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 7.2.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:
Problem/Incident
causes SERVER-82469 The `serverStatus` command incorrectl... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2023-10-02, Sharding EMEA 2023-10-16
Participants:

 Description   

Cloud Insights and Telemetry (InTel) team needs to distinguish between embedded and dedicated router.

The hello command can be extended to report the list of roles actually acted by the node. The clusterRole key could added as a part of the JSON command response, which can take on one or more of the values between shard, cluster, and router.



 Comments   
Comment by Githook User [ 04/Oct/23 ]

Author:

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

Message: SERVER-81231 Extend the `serverStatus` command to report whether the embedded router is enabled or not
Branch: master
https://github.com/mongodb/mongo/commit/59459176e6b1d6d5771528873c477778540c0ab4

Comment by Antonio Fuschetto [ 27/Sep/23 ]

The original idea was to extend the hello command, but the structure defining the command reply cannot be changed (strict). As a consequence, a viable solution is to extend the sharding section of the serverStatus command.

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