[SERVER-66711] Get rid of ShardLocal Created: 23/May/22  Updated: 27/Oct/23  Resolved: 09/Feb/23

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

Type: Improvement Priority: Major - P3
Reporter: Andrew Shuvalov (Inactive) Assignee: [DO NOT USE] Backlog - Sharding NYC
Resolution: Gone away Votes: 0
Labels: sharding-nyc-subteam2, sharding-nyc-subteam2-catalog-poc
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-66672 Support the runBatchWriteCommand on S... Closed
depends on SERVER-66700 Port runCommandWithFixedRetryAttempts... Closed
depends on SERVER-66712 Refactor ShardingCatalogClientImpl::g... Closed
Duplicate
duplicates SERVER-66909 Investigate how to stop using ShardLocal Closed
Assigned Teams:
Sharding NYC
Participants:

 Description   

That's the final stage of the chain of refactorings derived from SERVER-66672. The goal is that we get rid of all mutations (except runUserManagementWriteCommand()) that are using Shard interface. This remaining mutation command and all read commands can run on ShardRemote implementation even if it's a loopback connection.

The previous refactorings in this chain should reduce the call sites dramatically and unless we miss anything ShardLocal should be no longer needed.

The prototype can be tested on waterfall with invariants to prove we can force the ShardRemote implementation everywhere and still have everything passing. 



 Comments   
Comment by Jack Mulrow [ 09/Feb/23 ]

The design for PM-2290 has changed to no longer include removing ShardLocal, so closing as gone away.

Comment by Githook User [ 27/May/22 ]

Author:

{'name': 'sergey.galtsev', 'email': 'sergey.galtsev@mongodb.com', 'username': 'brushless-glitch'}

Message: SERVER-66711 rename mongo_crypt to mongo_crypt_shared
Branch: v6.0
https://github.com/mongodb/mongo/commit/87819b65756551b4b4787d931feb4e208651becc

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