[SERVER-70047] Add linter rule that checks CollectionSharingRuntime is not used outside sharding code Created: 28/Sep/22  Updated: 29/Oct/23  Resolved: 29/Sep/22

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

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

Issue Links:
Related
is related to SERVER-70052 Investigate static analysis mechanism... Closed
is related to SERVER-71770 Move CollectionShardingRuntime into c... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2022-10-03
Participants:

 Description   

CollectionShardingRuntime should only be used within the sharding libraries. Other subsystems should instead interact with CollectionShardingState, which is part of the sharding_api_d



 Comments   
Comment by Githook User [ 29/Sep/22 ]

Author:

{'name': 'Jordi Serra Torrens', 'email': 'jordi.serra-torrens@mongodb.com', 'username': 'jordist'}

Message: SERVER-70047 Add linter rule that checks CollectionSharingRuntime is not used outside sharding code
Branch: master
https://github.com/mongodb/mongo/commit/dc15e9c5fd0d8bb8b50679e5cf1170f426de60fb

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