[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: |
|
||||||||||||||||||||||||||||
| 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: (cherry picked from commit 2597e7fbe3c09683408b82b8b854023d6c2dbbf2) |
| Comment by Githook User [ 28/Jun/19 ] |
|
Author: {'name': 'Xiangyu Yao', 'username': 'xy24', 'email': 'xiangyu.yao@mongodb.com'}Message: |