[SERVER-61424] Create a new TenantToShardCache decoration on ServiceContext Created: 11/Nov/21  Updated: 29/Oct/23  Resolved: 24/Nov/21

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

Type: Task Priority: Major - P3
Reporter: Esha Maharishi (Inactive) Assignee: Mathis Bessa
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2021-11-29
Participants:

 Description   

Create a new TenantToShardCache class (empty for now) that is a decoration on ServiceContext (see example), is the last component to be constructed on sharding initialization (after the LogicalTimeValidator), and link it only in to mongoq.



 Comments   
Comment by Githook User [ 24/Nov/21 ]

Author:

{'name': 'mathisbessamdb', 'email': 'mathis.bessa@mongodb.com', 'username': 'mathisbessamdb'}

Message: SERVER-61424 - Adding tenant_to_shard_cache class and link it to mongoq only

SERVER-61424 wip

SERVER-61424 adding tenant_to_shard_cache to be built with mongos, initialized and called in sharding_initialization

SERVER-61424 removing initialize_tenant_to_shard_cache from mongos_main

SERVER-61424 running clang format

SERVER-61424 running clang format

SERVER-61424 some more cleanup

SERVER-61424 nit rework

SERVER-61424 - reworking comments to match snmp template

SERVER-61424 moving initialize_tenant_to_shard_cache to sharding_initialization instead of its own library

SERVER-61424 removing initialize_tenant_to_shard_cache from mongos_main

SERVER-61424 - reworking comments to match snmp template

SERVER-61424 moving initialize_tenant_to_shard_cache to sharding_initialization instead of its own library
Branch: master
https://github.com/mongodb/mongo/commit/63ef53c64bed353fb921c0f7529ed5f4ca629a5e

Comment by Githook User [ 24/Nov/21 ]

Author:

{'name': 'mathisbessamdb', 'email': 'mathis.bessa@mongodb.com', 'username': 'mathisbessamdb'}

Message: SERVER-61424 adding TenantToShardCache and link it to mongoq

SERVER-61424 adding tenant_to_shard_cache to be built with mongos, initialized and called in sharding_initialization

SERVER-61424 - some sconscript cleanup

SERVER-61424 running clang format

SERVER-61424 running clang format

SERVER-61424 some more cleanup

removing the file from branch

SERVER-61424 nit rework

SERVER-61424 changing copyright for enterprise since it doesnt have SSPL

SERVER-61424 adding TenantToShardCache and link it to mongoq

SERVER-61424 adding tenant_to_shard_cache to be built with mongos, initialized and called in sharding_initialization

SERVER-61424 some sconscript cleanup

SERVER-61424 running clang format

SERVER-61424 running clang format

SERVER-61424 some more cleanup

SERVER-61424 removing the file from branch

SERVER-61424 changing copyright for enterprise since it doesnt have SSPL

SERVER-61424 some sconscript cleanup

SERVER-61424 running clang format

SERVER-61424 removing the file from branch

SERVER-61424 no longer use initialize_tenant_to_shard_cache since it was moved to sharding_initialization llibrary

SERVER-61424 no longer use initialize_tenant_to_shard_cache since it was moved to sharding_initialization llibrary
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/9b6b5a25a4d882eb1095883869ffaa9ece85da82

Generated at Thu Feb 08 05:52:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.