[SERVER-83856] Remove unnecessary references to the `shard_role_api` library Created: 04/Dec/23  Updated: 07/Dec/23  Resolved: 07/Dec/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.3.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-81023 mongos should not depend on the shard... Closed
Backwards Compatibility: Fully Compatible
Sprint: CAR Team 2023-12-11
Participants:

 Description   

The shard_role_api library is unnecessarily linked by several libraries, exposing the shard logic to useless (and potentially dangerous) access.

This ticket aims to fix the build configuration files by removing these unnecessary links.



 Comments   
Comment by Githook User [ 07/Dec/23 ]

Author:

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

Message: SERVER-83856 Remove unnecessary references to the shard_role_api library

GitOrigin-RevId: f9c17ac75d3dd9a32af116d210a73d07a9ad5564
Branch: master
https://github.com/mongodb/mongo/commit/1d2a4241a00887046e1d1216b8119c793375833a

Comment by Antonio Fuschetto [ 07/Dec/23 ]

Author:

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

Message: SERVER-83856 Remove unnecessary references to the shard_role_api library
Branch: master
https://github.com/10gen/mongo/commit/f9c17ac75d3dd9a32af116d210a73d07a9ad5564

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