[SERVER-18024] Move collection metadata manipulation under the catalog manager Created: 13/Apr/15  Updated: 19/Sep/15  Resolved: 21/Apr/15

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

Type: Task Priority: Major - P3
Reporter: Kaloian Manassiev Assignee: Kaloian Manassiev
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-18796 printShardingStatus/sh.status doesn't... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2 04/24/15
Participants:

 Description   

The collection metadata reads, writes and parsing are done haphazardly all over the code. This ticket is to consolidate all parsing under type_collection and all loading and writing to the catalog manager.



 Comments   
Comment by Githook User [ 21/Apr/15 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-18024 Move collection metadata loading under the catalog manager

Cleans up the CollectionType parsing code and moves all the collection
metadata retrieval logic under the catalog manager.

Also moves type_collection.* under the catalog manager library.
Branch: master
https://github.com/mongodb/mongo/commit/4777fb87f36dc4c1f808570490eab01a1c12095f

Comment by Githook User [ 17/Apr/15 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-18024 std::make_unique -> stdx::make_unique

Otherwise the build is broken on compilers, which do not support C++14
yet.
Branch: master
https://github.com/mongodb/mongo/commit/92310cd644240a760afb94bda469c319048251c1

Comment by Githook User [ 17/Apr/15 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-18024 Link CatalogManagerLegacy in mongos/mongod only

The legacy catalog manager should only be liked by the mongod/mongos
executables. Other code need not know about it since it must be going
through the CatalogManager interface.
Branch: master
https://github.com/mongodb/mongo/commit/e6cc5fe9d5423e5ec86338d73a39446950a63ce1

Generated at Thu Feb 08 03:46:19 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.