[SERVER-47886] Make Collection contain a Decorable in addition to deriving from one Created: 01/May/20  Updated: 29/Oct/23  Resolved: 02/Jun/20

Status: Closed
Project: Core Server
Component/s: Concurrency, Storage
Affects Version/s: None
Fix Version/s: 4.7.0

Type: New Feature Priority: Major - P3
Reporter: Geert Bosch Assignee: Dianna Hohensee (Inactive)
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-47875 Split the CollectionQueryInfo into ve... Closed
Duplicate
is duplicated by SERVER-47874 Create a decorable object for Collect... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2020-06-01, Execution Team 2020-06-15
Participants:

 Description   

Make Collection contain a Decorable in addition to deriving from one. This new Decorable is shared across the collection's lifetime, and must internally synchronize to allow concurrent readers and writers, and holds the CollectionIndexUsageTracker. The remaining members of CollectionQueryInfo actually require a reset on executing DDL operations and thus remain a decoration of Collection.



 Comments   
Comment by Githook User [ 02/Jun/20 ]

Author:

{'name': 'Dianna Hohensee', 'email': 'dianna.hohensee@mongodb.com', 'username': 'DiannaHohensee'}

Message: SERVER-47886 Collection owns a shared Decorable object across Collection instances for the same collection
Branch: master
https://github.com/mongodb/mongo/commit/98d7227579c52cb08d1d61db41baa3efe74ab1e2

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