[SERVER-40717] Remove CollectionCatalogEntry and KVCollectionCatalogEntry Created: 18/Apr/19  Updated: 29/Oct/23  Resolved: 28/Jun/19

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 4.2.0-rc3, 4.3.1

Type: Improvement Priority: Major - P3
Reporter: Xiangyu Yao (Inactive) Assignee: Xiangyu Yao (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
depends on SERVER-41819 Move methods from KVCollectionCatalog... Closed
depends on SERVER-40716 Refactor catalog initialization logic... Closed
depends on SERVER-41583 Refactor Collection and CollectionCat... Closed
Related
related to SERVER-50028 Coverity analysis defect 114771: Dere... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.2
Sprint: Execution Team 2019-06-03, Execution Team 2019-06-17, Execution Team 2019-07-01, Execution Team 2021-11-01
Participants:

 Description   

Collection and CollectionCatalogEntry are basic objects stored in the catalog. They were created for different purposes: Collection provides an interface to do operations on a collection; CollectionCatalogEntry serves as a cache for the on-disk catalog entry. However, they do share some data such as pointer to underlying recordStore, ns, uuid and so on. This ticket is to find out if there is a way to merge them (or make composition) to eliminate some unnecessary data copy.



 Comments   
Comment by Githook User [ 03/Jul/19 ]

Author:

{'name': 'Xiangyu Yao', 'username': 'xy24', 'email': 'xiangyu.yao@mongodb.com'}

Message: SERVER-40717 Remove CollectionCatalogEntry and KVColletionCatalogEntry

(cherry picked from commit 2597e7fbe3c09683408b82b8b854023d6c2dbbf2)
Branch: v4.2
https://github.com/mongodb/mongo/commit/b67470de7a33cae0845a0ffbc6ae9c7a01d29db5

Comment by Githook User [ 28/Jun/19 ]

Author:

{'name': 'Xiangyu Yao', 'username': 'xy24', 'email': 'xiangyu.yao@mongodb.com'}

Message: SERVER-40717 Remove CollectionCatalogEntry and KVColletionCatalogEntry
Branch: master
https://github.com/mongodb/mongo/commit/2597e7fbe3c09683408b82b8b854023d6c2dbbf2

Generated at Thu Feb 08 04:55:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.