[SERVER-45904] Create a standalone collection sharding state factory Created: 31/Jan/20  Updated: 29/Oct/23  Resolved: 11/Feb/20

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

Type: Task Priority: Major - P3
Reporter: Marcos José Grillo Ramirez Assignee: Marcos José Grillo Ramirez
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-32198 Missing collection metadata on the sh... Closed
is depended on by SERVER-45779 Throw Stale Shard Version when collec... Closed
Problem/Incident
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2020-02-10, Sharding 2020-02-24
Participants:
Linked BF Score: 0

 Description   

Currently the collection sharding state is created here, this implies that non sharded mongod instances will be running using CollectionShardingRuntime. If the node is not sharded we should have a standalone version, like the embedded.



 Comments   
Comment by Githook User [ 11/Feb/20 ]

Author:

{'name': 'Marcos José Grillo Ramírez', 'username': 'm4nti5', 'email': 'marcos.grillo@mongodb.com'}

Message: SERVER-45904 Create a standalone collection sharding state factory

create mode 100644 src/mongo/db/s/collection_sharding_state_factory_shard.h
create mode 100644 src/mongo/db/s/collection_sharding_state_factory_standalone.cpp
create mode 100644 src/mongo/db/s/collection_sharding_state_factory_standalone.h
Branch: master
https://github.com/mongodb/mongo/commit/fc5a4d987ca2ee86d18614183de7b0a0e75c5a45

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